summaryrefslogtreecommitdiff
path: root/Examples/lua/embed3/embed3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/lua/embed3/embed3.cpp')
-rw-r--r--Examples/lua/embed3/embed3.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/Examples/lua/embed3/embed3.cpp b/Examples/lua/embed3/embed3.cpp
index c2424f9af..e5e0e0a7d 100644
--- a/Examples/lua/embed3/embed3.cpp
+++ b/Examples/lua/embed3/embed3.cpp
@@ -26,7 +26,12 @@ extern "C" {
#include <lauxlib.h>
#include <lualib.h>
}
-
+
+/* The SWIG external runtime is generated by using.
+swig -lua -externalruntime swigluarun.h
+It contains useful function used by SWIG in its wrappering
+SWIG_TypeQuery() SWIG_NewPointerObj()
+*/
#include "swigluarun.h" // the SWIG external runtime
/* the SWIG wrappered library */