Fix cpp11_type_aliasing test

Ordering fix for Guile wrappers to compile
This commit is contained in:
William S Fulton 2021-11-15 08:00:46 +00:00
commit 54e2ad073f

View file

@ -63,12 +63,14 @@ using IntArray = Int[];
// Test that SWIG understands these new types
%{
Int mult2(Int x) { return x * 2; }
%}
%callback("%s_cb");
Int mult2(Int x);
%nocallback;
%inline %{
Int mult2(Int x) { return x * 2; }
IntPtr allocate_int() { return new Int(12); }
void free_int(int* ptr) { delete ptr; }
void inplace_mult2(IntRef x) { x *= 2; }