Tests for enum/consts old-style bindings and for static const char; bindings
This commit is contained in:
parent
89bc5576c9
commit
b901979d1c
3 changed files with 28 additions and 0 deletions
|
|
@ -59,6 +59,9 @@ cb.Bar_global_fval=cb.Foo(-34)
|
|||
assert(cb.Bar_global_fval.num==-34)
|
||||
assert(cb.Bar.global_fval.num==-34)
|
||||
|
||||
assert(cb.Bar.global_cint == -4)
|
||||
assert(cb.Bar_global_cint == -4)
|
||||
|
||||
-- Now test member function pointers
|
||||
func1_ptr=cb.get_func1_ptr()
|
||||
func2_ptr=cb.get_func2_ptr()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue