Make javascript 'nspace' conform to corresponding lua example.
This commit is contained in:
parent
9149f5953b
commit
b30c6a452f
10 changed files with 78 additions and 71 deletions
10
Examples/javascript/nspace/example.i
Normal file
10
Examples/javascript/nspace/example.i
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
%module example
|
||||
|
||||
%{
|
||||
#include "example.h"
|
||||
%}
|
||||
|
||||
%nspace MyWorld::Nested::Dweller;
|
||||
%nspace MyWorld::World;
|
||||
|
||||
%include "example.h"
|
||||
Loading…
Add table
Add a link
Reference in a new issue