touched the memory allocator
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: std.h 320 2009-12-21 12:29:52Z hyunghwan.chung $
|
||||
* $Id: std.h 336 2010-07-24 12:43:26Z hyunghwan.chung $
|
||||
*
|
||||
Copyright 2006-2009 Chung, Hyung-Hwan.
|
||||
This file is part of QSE.
|
||||
@ -88,6 +88,11 @@ qse_awk_t* qse_awk_openstd (
|
||||
qse_size_t xtnsize /**< size of extension in bytes */
|
||||
);
|
||||
|
||||
qse_awk_t* qse_awk_openstdwithmmgr (
|
||||
qse_mmgr_t* mmgr,
|
||||
qse_size_t xtnsize
|
||||
);
|
||||
|
||||
/**
|
||||
* The qse_awk_getxtnstd() gets the pointer to extension space.
|
||||
* Note that you must not call qse_awk_getxtn() for an awk object
|
||||
|
@ -50,6 +50,36 @@ extern "C" {
|
||||
|
||||
QSE_DEFINE_COMMON_FUNCTIONS (xma)
|
||||
|
||||
qse_xma_t* qse_xma_open (
|
||||
qse_mmgr_t* mmgr,
|
||||
qse_size_t ext,
|
||||
qse_size_t size
|
||||
);
|
||||
|
||||
void qse_xma_close (
|
||||
qse_xma_t* xma
|
||||
);
|
||||
|
||||
qse_xma_t* qse_xma_init (
|
||||
qse_xma_t* xma,
|
||||
qse_mmgr_t* mmgr,
|
||||
qse_size_t size
|
||||
);
|
||||
|
||||
void qse_xma_fini (
|
||||
qse_xma_t* xma
|
||||
);
|
||||
|
||||
void* qse_xma_alloc (
|
||||
qse_xma_t* xma,
|
||||
qse_size_t size
|
||||
);
|
||||
|
||||
void qse_xma_free (
|
||||
qse_xma_t* xma,
|
||||
void* b
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
@ -43,6 +43,11 @@ qse_sed_t* qse_sed_openstd (
|
||||
qse_size_t xtnsize /**< size of extension in bytes */
|
||||
);
|
||||
|
||||
qse_sed_t* qse_sed_openstdwithmmgr (
|
||||
qse_mmgr_t* mmgr,
|
||||
qse_size_t xtnsize /**< size of extension in bytes */
|
||||
);
|
||||
|
||||
/**
|
||||
* The qse_sed_getxtnstd() gets the pointer to extension space.
|
||||
* Note that you must not call qse_sed_getxtn() for a stream editor
|
||||
|
Reference in New Issue
Block a user