diff --git a/Examples/test-suite/autodoc.i b/Examples/test-suite/autodoc.i index d85899756..07afa5794 100644 --- a/Examples/test-suite/autodoc.i +++ b/Examples/test-suite/autodoc.i @@ -114,12 +114,6 @@ } %} -%callback("%(uppercase)s_CALLBACK") func_cb; - -%inline { - int func_cb(int c, int d) { return c; } -} - // Bug 3310528 %feature("autodoc","1") banana; // names + types %inline %{ diff --git a/Examples/test-suite/callback.i b/Examples/test-suite/callback.i index c92994898..4db63353b 100644 --- a/Examples/test-suite/callback.i +++ b/Examples/test-suite/callback.i @@ -12,7 +12,7 @@ %callback("%s") A::bar; %callback("%s") A::foom; #endif -%callback("%s_Cb_Ptr") foo_T; // this works in Python too +%callback("%(uppercase)s_Cb_Ptr") foo_T; // this works in Python too %inline %{ diff --git a/Examples/test-suite/php/autodoc_runme.php b/Examples/test-suite/php/autodoc_runme.php deleted file mode 100644 index f2e19d3cb..000000000 --- a/Examples/test-suite/php/autodoc_runme.php +++ /dev/null @@ -1,9 +0,0 @@ - diff --git a/Examples/test-suite/php/callback_runme.php b/Examples/test-suite/php/callback_runme.php new file mode 100644 index 000000000..392d5e598 --- /dev/null +++ b/Examples/test-suite/php/callback_runme.php @@ -0,0 +1,9 @@ + not a resource\n"); + +check::done(); +?>