From 98a5569e1b5c4449166e56f38b50cbe62ea34628 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sun, 16 Mar 2014 18:37:05 +0000 Subject: Few tweaks to Lua html docs --- Doc/Manual/Contents.html | 3 --- Doc/Manual/Lua.html | 21 ++++++++++++--------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Doc/Manual/Contents.html b/Doc/Manual/Contents.html index de64429cb..7cf40b95d 100644 --- a/Doc/Manual/Contents.html +++ b/Doc/Manual/Contents.html @@ -1106,9 +1106,6 @@
  • Namespaces -
  • Compatibility Note - diff --git a/Doc/Manual/Lua.html b/Doc/Manual/Lua.html index f0415d8d6..e6cf11b9f 100644 --- a/Doc/Manual/Lua.html +++ b/Doc/Manual/Lua.html @@ -42,9 +42,6 @@
  • Namespaces -
  • Compatibility Note - @@ -173,7 +170,7 @@ swig -lua -help -no-old-metatable-bindings - Disable backward compatibility: old-style binding names generations and a few other things. Explanations are included into appropriate sections. + Disable backward compatibility: old-style binding names generations and a few other things. Explanations are included in appropriate later sections. -squash-bases @@ -772,7 +769,10 @@ It is not (currently) possible to access static members of an instance: -- does NOT work +

    Compatibility Note: In versions prior to SWIG-3.0.0 only the following names would work: +

    +
     > example.Spam_foo()            -- calling Spam::foo()
     > a=example.Spam_bar            -- reading Spam::bar 
    @@ -1379,7 +1379,11 @@ namespace MyWorld {
       }
     }
     
    + +

    Now, from Lua usage is as follows: +

    +
     > print(example.module_function())
     7
    @@ -1399,7 +1403,7 @@ Now, from Lua usage is as follows:
     
     
     

    -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): +If SWIG is running in a backwards compatible way, i.e. without the -no-old-metatable-bindings option, then additional old-style names are generated (notice the underscore):

     9
    @@ -1409,10 +1413,9 @@ If SWIG is running in backward compatible way, i.e. without -no-old-metatabl
     11
     >
     
    -

    27.3.18 Compatibility Note

    -

    27.3.18.1 Names

    +

    27.3.17.2 Names

    If SWIG is launched without -no-old-metatable-bindings option, then it enters backward-compatible mode. While in this mode, it tries @@ -1435,7 +1438,7 @@ class Test2 { static const int ICONST2 = 23; }

    -

    When in backward compatible mode, in addition to usual names, the following ones will be generated (notice the underscore):

    +

    When in backward compatible mode, in addition to the usual names, the following ones will be generated (notice the underscore):

     9
     > print(example.MyWorld.Test_TEST1) -- Test has %nspace enabled
    @@ -1456,7 +1459,7 @@ surrounding scope without any prefixing. Pretending that Test2 is a struct, not
     >
     
    -

    27.3.18.2 Inheritance

    +

    27.3.17.3 Inheritance

    The internal organization of inheritance has changed. -- cgit v1.2.1