diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2007-08-02 23:23:05 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2007-08-02 23:23:05 +0000 |
commit | 258e9d7a18cef69790789d6fccdabfd9e92abfaf (patch) | |
tree | bcecf7f3b02f86d17fa8cd8b77c4ec7492d3964c /CHANGES | |
parent | 08f3b56f9be1e85d9c88746f9b45f93078cfd679 (diff) | |
download | swig-258e9d7a18cef69790789d6fccdabfd9e92abfaf.tar.gz |
Fix syntax errors for %callback examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9883 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -14771,10 +14771,10 @@ Version 1.3.7 (September 3, 2001) This creates a constant 'foo' of type int (*)(int,int). Alternatively, you can do this: - %callback("%s") + %callback("%s"); int foo(int,int); int bar(int,int); - %nocallback + %nocallback; In this case, the functions are installed as constants where the name is defined by the format string given to %callback(). @@ -14782,10 +14782,10 @@ Version 1.3.7 (September 3, 2001) actual function name, both a function wrapper and a callback constant are created. For example: - %callback("%(upper)s") + %callback("%(upper)s"); int foo(int,int); int bar(int,int); - %nocallback + %nocallback; Creates two wrapper functions 'foo', 'bar' and additionally creates two callback constants 'FOO', 'BAR'. |