C# director support added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9102 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
fc84e395b9
commit
5ea73416b5
19 changed files with 979 additions and 0 deletions
13
SWIG/Examples/csharp/callback/example.i
Normal file
13
SWIG/Examples/csharp/callback/example.i
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/* File : example.i */
|
||||
%module(directors="1") example
|
||||
%{
|
||||
#include "example.h"
|
||||
%}
|
||||
|
||||
%include "std_string.i"
|
||||
|
||||
/* turn on director wrapping Callback */
|
||||
%feature("director") Callback;
|
||||
|
||||
%include "example.h"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue