blob: 87544ba343876158423d65b040f1dc85cbe09598 [file] [log] [blame]
swissChili8cfb7c42021-04-18 21:17:58 -07001#pragma once
2
3#include <stdint.h>
4#include <stddef.h>
swissChilif3e7f182021-04-20 13:57:22 -07005#include <dasm_proto.h>
swissChili8cfb7c42021-04-18 21:17:58 -07006
7/* Platform specific definitions */
8
9// Must return an address aligned to 8 bytes
10void *malloc_aligned (size_t size);
11void *realloc_aligned (void *addr, size_t size);
12void free_aligned (void *addr);
swissChilif3e7f182021-04-20 13:57:22 -070013
14void *link (dasm_State **Dst);