This commit is contained in:
2008-06-29 02:37:09 +00:00
parent 092eeacafd
commit cbc48145c4
7 changed files with 157 additions and 45 deletions

View File

@ -0,0 +1,28 @@
/*
* $Id: helper.h 231 2008-06-28 08:37:09Z baconevi $
*/
#ifndef _ASE_UTL_HELPER_H_
#define _ASE_UTL_HELPER_H_
#include <ase/types.h>
#include <ase/macros.h>
#define ASE_GETMMGR() (ase_mmgr)
#define ASE_SETMMGR(m) ((ase_mmgr) = (m))
#define ASE_GETCCLS() (ase_ccls)
#define ASE_SETCCLS(c) ((ase_ccls) = (c))
#ifdef __cplusplus
extern "C" {
#endif
extern ase_mmgr_t* ase_mmgr;
extern ase_ccls_t* ase_ccls;
#ifdef __cplusplus
}
#endif
#endif

View File

@ -1,5 +1,5 @@
pkginclude_HEADERS = ctype.h getopt.h http.h main.h stdio.h
pkginclude_HEADERS = helper.h ctype.h getopt.h http.h main.h stdio.h
pkgincludedir= $(includedir)/ase/utl