12 lines
No EOL
222 B
C
12 lines
No EOL
222 B
C
#include <stdio.h>
|
|
#include <Hallocy/Allocator.h>
|
|
|
|
int main() {
|
|
char *memory = (char *)hallocy_malloc(3);
|
|
memory[0] = 'H';
|
|
memory[1] = 'i';
|
|
memory[2] = '\0';
|
|
|
|
printf("%s\n", memory);
|
|
return 0;
|
|
} |