Add C++ nested class example
This also reverts the nested class additions to the Java/C# 'class' example so that the 'class' example remains identical across different language modules
This commit is contained in:
parent
b65ba2a8db
commit
2d518c638c
22 changed files with 802 additions and 18 deletions
13
Examples/csharp/nested/example.i
Normal file
13
Examples/csharp/nested/example.i
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
%module example
|
||||
|
||||
// This example shows how wrappers for numerous aspects of C++ nested classes work:
|
||||
// Nested static and instance variables and methods and nested enums
|
||||
|
||||
%include <std_string.i>
|
||||
|
||||
%{
|
||||
#include "example.h"
|
||||
%}
|
||||
|
||||
%include "example.h"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue