- 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
14 lines
262 B
OpenEdge ABL
14 lines
262 B
OpenEdge ABL
/* File : example.i */
|
|
%module(directors="1") swigexample
|
|
%{
|
|
#include "example.h"
|
|
%}
|
|
|
|
%include "std_vector.i"
|
|
%include "std_string.i"
|
|
|
|
/* turn on director wrapping for Manager */
|
|
%feature("director") Employee;
|
|
%feature("director") Manager;
|
|
|
|
%include "example.h"
|