diff --git a/Doc/Manual/Lua.html b/Doc/Manual/Lua.html index 31c9dd564..44384b1a3 100644 --- a/Doc/Manual/Lua.html +++ b/Doc/Manual/Lua.html @@ -160,7 +160,7 @@ swig -lua -help - -swig3 + -no-old-metatable-bindings Disable backward compatibility: old-style binding names generations and a few other things. Explanations are included into appropriate sections. @@ -524,7 +524,7 @@ This is 'effectively' converted into the following Lua code:

Backward compatibility

-If -swig3 option is not given, then in addition to previously described bindings, the old-style ones are generated: +If -no-old-metatable-bindings option is not given, then in addition to previously described bindings, the old-style ones are generated:

 > print(example.Test_TEST1)
@@ -748,7 +748,7 @@ It is not (currently) possible to access static members of an instance:
 

Backward compatibility

-

If -swig3 option is not given, then backward compatible names are generated in addition to ordinary ones:

+

If -no-old-metatable-bindings option is not given, then backward compatible names are generated in addition to ordinary ones:

 > example.Spam_foo()            -- calling Spam::foo()
 > a=example.Spam_bar            -- reading Spam::bar 
@@ -1364,7 +1364,7 @@ Now, in Lua it could be used like this:
 

Backward compatibility

-If SWIG is running in backward compatible way, i.e. without -swig3 option, then additional old-style names are generated(notice the underscore): +If SWIG is running in backward compatible way, i.e. without -no-old-metatable-bindings option, then additional old-style names are generated(notice the underscore):

 9
@@ -1376,7 +1376,7 @@ If SWIG is running in backward compatible way, i.e. without -swig3 opti
 

Backward compatibility

Names

-

If SWIG is launched without -swig3 option, then it enters backward-compatible mode. While in this mode, it tries +

If SWIG is launched without -no-old-metatable-bindings option, then it enters backward-compatible mode. While in this mode, it tries to generate additional names for static functions, class static constants and class enums. Those names are in a form $classname_$symbolname and are added to the scope surrounding the class. If %nspace is enabled, then class namespace is taken as scope. If there is no namespace, or %nspace is disabled,