Add C "contract" test
Tests that the `%contract` code (viz., each target language's implementation of SWIG_contract_assert) compiles in C as expected. Update the note in the source code since `%contract` is in the official documentation.
This commit is contained in:
parent
c9fbb81e4a
commit
fb0cddfd2b
4 changed files with 9 additions and 2 deletions
|
|
@ -172,7 +172,7 @@
|
|||
#define %novaluewrapper %feature("novaluewrapper")
|
||||
#define %clearnovaluewrapper %feature("novaluewrapper","")
|
||||
|
||||
/* Contract support - Experimental and undocumented */
|
||||
/* Contract support - Experimental */
|
||||
#define %contract %feature("contract")
|
||||
#define %nocontract %feature("contract","0")
|
||||
#define %clearcontract %feature("contract","")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue