The sole reason for including this header seems to be to get size_t declaration, so include the smallest header sufficient for this. It would be even better to use a fragment for all size_t typemaps to only include it if necessary, but it doesn't seem to be worth doing this right now.
20 lines
535 B
Text
20 lines
535 B
Text
/* -----------------------------------------------------------------------------
|
|
* cproxy.swg
|
|
*
|
|
* Definitions of C specific preprocessor symbols for proxies.
|
|
* ----------------------------------------------------------------------------- */
|
|
|
|
#ifndef SWIGIMPORT
|
|
# ifndef __GNUC__
|
|
# define __DLL_IMPORT __declspec(dllimport)
|
|
# else
|
|
# define __DLL_IMPORT __attribute__((dllimport)) extern
|
|
# endif
|
|
# if !defined (__WIN32__)
|
|
# define SWIGIMPORT extern
|
|
# else
|
|
# define SWIGIMPORT __DLL_IMPORT
|
|
# endif
|
|
#endif
|
|
|
|
#include <stddef.h>
|