Updated documentation.

Provide a swig_val function which generates a shareable value from a module
specific one in a painless way.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Art Yerkes 2004-10-17 08:38:54 +00:00
commit 01f438f143
4 changed files with 83 additions and 53 deletions

View file

@ -3,7 +3,7 @@ enum GlobalEnum { globalenum1=1, globalenum2 };
/* This function should be static as it will be emitted into the code for
* every module. All _static targets would fail here with a multiple
* definition if this is not static. */
GlobalEnum global_test(GlobalEnum e) { return e; }
static GlobalEnum global_test(GlobalEnum e) { return e; }
class A {
public: