SWIGPERL check around bool typedef
This commit is contained in:
parent
a811b51241
commit
b794dbf72d
1 changed files with 3 additions and 1 deletions
|
|
@ -35,7 +35,9 @@ extern "C" {
|
|||
|
||||
#ifndef __cplusplus
|
||||
#ifndef HAMMER_INTERNAL__NO_STDARG_H
|
||||
#ifndef SWIGPERL
|
||||
typedef int bool;
|
||||
#endif // SWIGPERL
|
||||
#endif // HAMMER_INTERNAL__NO_STDARG_H
|
||||
#endif
|
||||
|
||||
|
|
@ -242,7 +244,7 @@ typedef struct HBenchmarkResults_ {
|
|||
rtype_t name##__m(HAllocator* mm__, params, ...); \
|
||||
rtype_t name##__a(void *args[]); \
|
||||
rtype_t name##__ma(HAllocator *mm__, void *args[])
|
||||
#endif // HAMMER_INTERNAL__NO_STDARG_H
|
||||
#endif // SWIG
|
||||
// }}}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue