Merge branch 'typemap-colon'
* typemap-colon:
Incoporate review suggestions
Allow referencing of typemap keywords inside of "$typemap("
This commit is contained in:
commit
da40946aaa
4 changed files with 46 additions and 14 deletions
|
|
@ -1,10 +1,15 @@
|
|||
import special_variable_macros
|
||||
|
||||
cvar = special_variable_macros.cvar
|
||||
name = special_variable_macros.Name()
|
||||
if special_variable_macros.testFred(name) != "none":
|
||||
raise "test failed"
|
||||
if cvar.accessed_examplekw != 0:
|
||||
raise "Precondition failed"
|
||||
if special_variable_macros.testJack(name) != "$specialname":
|
||||
raise "test failed"
|
||||
if cvar.accessed_examplekw != 1:
|
||||
raise "Postcondition failed"
|
||||
if special_variable_macros.testJill(name) != "jilly":
|
||||
raise "test failed"
|
||||
if special_variable_macros.testMary(name) != "SWIGTYPE_p_NameWrap":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue