Tests for enum/consts old-style bindings and for static const char; bindings

This commit is contained in:
Artem Serebriyskiy 2013-11-07 20:26:27 +04:00 committed by William S Fulton
commit b901979d1c
3 changed files with 28 additions and 0 deletions

View file

@ -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()