Files
cpp-thirdparty/winx64/bin/swig-3.0.12/Examples/python/smartptr/example.i
Bassem Girgis 81b4b9e273 Initial commit
2018-12-20 17:34:07 -06:00

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>;