xmlreaderimpl/support/StxCPPUtils.h
author Jan Vrany <jan.vrany@fit.cvut.cz>
Mon, 25 Jan 2016 16:35:43 +0000
changeset 298 9696f76605bd
parent 296 ea3dbc023c80
permissions -rw-r--r--
Added C:\MINGW\MSYS\1.0\bin to PATH when building expat. Some systems have it installed there (such as SWING Jenkins servers)

#ifndef XERCESUTIL_H_
#define XERCESUTIL_H_


#ifdef __cplusplus 
# define EXTERN_C extern "C"
#else
# define EXTERN_C 
#endif

#ifdef __cplusplus 
extern "C" {
#endif

# include <stdio.h>
# include <stc.h>
  void __ADD_REFCELL_CPP(OBJ* refcell);
  void __REMOVE_REFCELL_CPP(OBJ* refcell);

  OBJ  __MKEXTERNALADDRESS_CPP(void* data);
  OBJ  __MKSYMBOL_CPP(char* sval);
  OBJ  __MKSTRING_CPP(char* sval);
  OBJ  __MKINT_CPP(int ival);
  OBJ  __BYTEARRAY_UNINITIALIZED_NEW_INT_CPP(int len);


  OBJ  __SSEND1_CPP(OBJ r, OBJ s, int i, OBJ a1);
  OBJ  __SSEND2_CPP(OBJ r, OBJ s, int i, OBJ a1, OBJ a2);

#ifdef __cplusplus 
} // extern "C"
#endif

  

#undef true
#undef false


#endif