Added SWIG_contract_assert.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Art Yerkes 2003-11-23 08:20:12 +00:00
commit 734e61b869

View file

@ -89,6 +89,8 @@ CAMLextern int64 Int64_val(caml_value_t v);
# define SWIGSTATIC static
#endif
#define SWIG_contract_assert(expr, msg) if(!(expr)) {failwith(msg);} else
SWIGSTATIC int
SWIG_GetPtr(void *source, void **result, swig_type_info *type, swig_type_info *result_type);