moved the xma mmgr to std.c with the new function hawk_init_xma_mmgr() and hawk_fini_xma_mmgr()

This commit is contained in:
2025-06-03 21:53:33 +09:00
parent 2a03c6f061
commit 715085c778
28 changed files with 3298 additions and 720 deletions

View File

@ -735,6 +735,15 @@ HAWK_EXPORT void hawk_sed_setlinenum (
hawk_oow_t num /**< a line number */
);
/**
* The hawk_sed_getspace() function gets the pointer and the length
* to a buffer space specfied by \a space.
*/
HAWK_EXPORT void hawk_sed_getspace (
hawk_sed_t* sed,
hawk_sed_space_t space,
hawk_oocs_t* str
);
/**
* The hawk_sed_allocmem() function allocates a chunk of memory using
@ -746,7 +755,7 @@ HAWK_EXPORT void* hawk_sed_allocmem (
);
/**
* The hawk_sed_allocmem() function allocates a chunk of memory using
* The hawk_sed_callocmem() function allocates a chunk of memory using
* the memory manager of \a sed and clears it to zeros.
*/
HAWK_EXPORT void* hawk_sed_callocmem (
@ -755,7 +764,7 @@ HAWK_EXPORT void* hawk_sed_callocmem (
);
/**
* The hawk_sed_allocmem() function reallocates a chunk of memory using
* The hawk_sed_reallocmem() function reallocates a chunk of memory using
* the memory manager of \a sed.
*/
HAWK_EXPORT void* hawk_sed_reallocmem (
@ -765,7 +774,7 @@ HAWK_EXPORT void* hawk_sed_reallocmem (
);
/**
* The hawk_sed_allocmem() function frees a chunk of memory using
* The hawk_sed_freemem() function frees a chunk of memory using
* the memory manager of \a sed.
*/
HAWK_EXPORT void hawk_sed_freemem (
@ -773,16 +782,6 @@ HAWK_EXPORT void hawk_sed_freemem (
void* ptr
);
/**
* The hawk_sed_getspace() function gets the pointer and the length
* to a buffer space specfied by \a space.
*/
HAWK_EXPORT void hawk_sed_getspace (
hawk_sed_t* sed,
hawk_sed_space_t space,
hawk_oocs_t* str
);
/* ------------------------------------------------------------------------ */
/**