2025-04-09 18:19:41 -05:00
|
|
|
#include <stdio.h>
|
2025-04-11 16:03:11 -05:00
|
|
|
#include <Hallocy/Allocator.h>
|
2025-04-09 18:19:41 -05:00
|
|
|
|
|
|
|
|
int main() {
|
2025-04-11 16:03:11 -05:00
|
|
|
char *memory = (char *)hallocy_malloc(3);
|
|
|
|
|
memory[0] = 'H';
|
|
|
|
|
memory[1] = 'i';
|
|
|
|
|
memory[2] = '\0';
|
|
|
|
|
|
|
|
|
|
printf("%s\n", memory);
|
2025-04-09 18:19:41 -05:00
|
|
|
return 0;
|
|
|
|
|
}
|