swig/Examples/python/smartptr/example.i

21 lines
295 B
OpenEdge ABL

/* File : example.i */
%module example
%{
#include "example.h"
#include "smartptr.h"
%}
/* Let's just grab the original header file here */
%include "example.h"
/* Grab smart pointer template */
%include "smartptr.h"
/* Instantiate smart-pointers */
%template(ShapePtr) SmartPtr<Shape>;