more swigkey unification
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8196 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
fc4ecc15ec
commit
e598ab002b
9 changed files with 536 additions and 473 deletions
|
|
@ -14,6 +14,7 @@
|
|||
char cvsroot_include_c[] = "$Header$";
|
||||
|
||||
#include "swig.h"
|
||||
#include "swigkeys.h"
|
||||
|
||||
/* Delimeter used in accessing files and directories */
|
||||
|
||||
|
|
@ -166,7 +167,7 @@ Swig_search_path_any(int syspath) {
|
|||
filename = NewStringEmpty();
|
||||
assert(filename);
|
||||
Printf(filename, "%s%s", dirname, SWIG_FILE_DELIMETER);
|
||||
if (syspath && !Getattr(dirname,"sysdir")) {
|
||||
if (syspath && !Getattr(dirname,k_sysdir)) {
|
||||
Append(llist,filename);
|
||||
} else {
|
||||
Append(slist,filename);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue