Consistent use of 'proxy' over 'shadow' throughout

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6213 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-09-02 20:32:30 +00:00
commit 2800279d68

View file

@ -57,7 +57,7 @@ Guile Options (available with -guile)\n\
exports; only with `passive' and `simple' linkage\n\ exports; only with `passive' and `simple' linkage\n\
-gh - Use the gh_ Guile API. (Guile <= 1.8, default) \n\ -gh - Use the gh_ Guile API. (Guile <= 1.8, default) \n\
-scm - Use the scm Guile API. (Guile >= 1.6) \n\ -scm - Use the scm Guile API. (Guile >= 1.6) \n\
-shadow - Export GOOPS class definitions\n\ -proxy - Export GOOPS class definitions\n\
-emitslotaccessors - Emit accessor methods for all GOOPS slots\n" "\ -emitslotaccessors - Emit accessor methods for all GOOPS slots\n" "\
-primsuffix <suffix> - Name appended to primitive module when exporting\n\ -primsuffix <suffix> - Name appended to primitive module when exporting\n\
GOOPS classes. (default = \"primitive\")\n\ GOOPS classes. (default = \"primitive\")\n\
@ -232,7 +232,7 @@ public:
scmstub = true; scmstub = true;
Swig_mark_arg(i); Swig_mark_arg(i);
} }
else if (strcmp (argv[i], "-shadow") == 0) { else if ((strcmp(argv[i],"-shadow") == 0) || ((strcmp(argv[i],"-proxy") == 0))) {
goops = true; goops = true;
Swig_mark_arg(i); Swig_mark_arg(i);
} }
@ -289,7 +289,7 @@ public:
} }
if (goops) { if (goops) {
// -shadow implies -emit-setters // -proxy implies -emit-setters
emit_setters = 1; emit_setters = 1;
} }