SWIGPERL check around bool typedef

This commit is contained in:
Meredith L. Patterson 2013-12-06 04:03:55 +01:00
parent a811b51241
commit b794dbf72d

View file

@ -35,7 +35,9 @@ extern "C" {
#ifndef __cplusplus #ifndef __cplusplus
#ifndef HAMMER_INTERNAL__NO_STDARG_H #ifndef HAMMER_INTERNAL__NO_STDARG_H
#ifndef SWIGPERL
typedef int bool; typedef int bool;
#endif // SWIGPERL
#endif // HAMMER_INTERNAL__NO_STDARG_H #endif // HAMMER_INTERNAL__NO_STDARG_H
#endif #endif
@ -242,7 +244,7 @@ typedef struct HBenchmarkResults_ {
rtype_t name##__m(HAllocator* mm__, params, ...); \ rtype_t name##__m(HAllocator* mm__, params, ...); \
rtype_t name##__a(void *args[]); \ rtype_t name##__a(void *args[]); \
rtype_t name##__ma(HAllocator *mm__, void *args[]) rtype_t name##__ma(HAllocator *mm__, void *args[])
#endif // HAMMER_INTERNAL__NO_STDARG_H #endif // SWIG
// }}} // }}}