1.1 --- a/sourcepawn/vm/sp_vm_engine.h Sat Sep 23 23:37:40 2006 +0000
1.2 +++ b/sourcepawn/vm/sp_vm_engine.h Sun Sep 24 06:17:10 2006 +0000
1.3 @@ -67,6 +67,22 @@
1.4 * @param mem Memory address to free.
1.5 */
1.6 void BaseFree(void *memory);
1.7 +
1.8 +
1.9 + /**
1.10 + * Allocates executable memory.
1.11 + *
1.12 + * @param size Size of memory to allocate.
1.13 + * @return Pointer to memory, NULL if allocation failed.
1.14 + */
1.15 + void *ExecAlloc(size_t size);
1.16 +
1.17 + /**
1.18 + * Frees executable memory.
1.19 + *
1.20 + * @param mem Address to free.
1.21 + */
1.22 + void ExecFree(void *address);
1.23 };
1.24 };
1.25