- rename example modules from "example" to "swigexample", to avoid a warning from shadowing the Octave built-in function "example" - remove deprecated "static" Makefile targets: there is no longer an option to build static Octave modules in the Examples Makefile - emacs whitespace cleanup run on all files
12 lines
205 B
OpenEdge ABL
12 lines
205 B
OpenEdge ABL
/* File : example.i */
|
|
%module(directors="1") swigexample
|
|
%{
|
|
#include "example.h"
|
|
%}
|
|
|
|
%include "std_string.i"
|
|
|
|
/* turn on director wrapping Callback */
|
|
%feature("director") Callback;
|
|
|
|
%include "example.h"
|