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:
parent
b2ae153a34
commit
734e61b869
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue