Eliminated use of swigkeys.h/.c files.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9632 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c12550e4ad
commit
ff41049b1c
20 changed files with 993 additions and 1279 deletions
|
|
@ -1920,7 +1920,7 @@ public:
|
|||
|
||||
String *this_type = Copy(getClassType());
|
||||
String *name = NewString("self");
|
||||
String *qualifier = Getattr(n, k_qualifier);
|
||||
String *qualifier = Getattr(n, "qualifier");
|
||||
if (qualifier)
|
||||
SwigType_push(this_type, qualifier);
|
||||
SwigType_add_pointer(this_type);
|
||||
|
|
|
|||
|
|
@ -1210,7 +1210,7 @@ int Language::memberfunctionHandler(Node *n) {
|
|||
String *director_type = 0;
|
||||
if (!is_public(n) && (is_member_director(CurrentClass, n) || GetFlag(n, "explicitcall"))) {
|
||||
director_type = Copy(DirectorClassName);
|
||||
String *qualifier = Getattr(n, k_qualifier);
|
||||
String *qualifier = Getattr(n, "qualifier");
|
||||
if (qualifier)
|
||||
SwigType_push(director_type, qualifier);
|
||||
SwigType_add_pointer(director_type);
|
||||
|
|
@ -2119,8 +2119,8 @@ static void addCopyConstructor(Node *n) {
|
|||
for (c = firstChild(n); c; c = nextSibling(c)) {
|
||||
const char *tag = Char(nodeType(c));
|
||||
if (strcmp(tag, "constructor") == 0) {
|
||||
String *cname = Getattr(c, k_name);
|
||||
String *csname = Getattr(c, k_symname);
|
||||
String *cname = Getattr(c, "name");
|
||||
String *csname = Getattr(c, "sym:name");
|
||||
String *clast = Swig_scopename_last(cname);
|
||||
if (Equal(csname, clast)) {
|
||||
oldname = csname;
|
||||
|
|
|
|||
|
|
@ -239,7 +239,7 @@ class TypePass:private Dispatcher {
|
|||
Symtab *st = Getattr(cls, "symtab");
|
||||
Symtab *bst = Getattr(bclass, "symtab");
|
||||
if (st == bst) {
|
||||
Swig_warning(WARN_PARSE_REC_INHERITANCE, Getfile(cls), Getline(cls), "Recursive scope inheritance of '%s'.\n", Getattr(cls, k_name));
|
||||
Swig_warning(WARN_PARSE_REC_INHERITANCE, Getfile(cls), Getline(cls), "Recursive scope inheritance of '%s'.\n", Getattr(cls, "name"));
|
||||
continue;
|
||||
}
|
||||
Symtab *s = Swig_symbol_current();
|
||||
|
|
@ -866,7 +866,7 @@ class TypePass:private Dispatcher {
|
|||
String *ucode = is_void ? NewStringf("{ self->%s(", Getattr(n, "uname")) : NewStringf("{ return self->%s(", Getattr(n, "uname"));
|
||||
|
||||
for (ParmList *p = parms; p;) {
|
||||
Append(ucode, Getattr(p, k_name));
|
||||
Append(ucode, Getattr(p, "name"));
|
||||
p = nextSibling(p);
|
||||
if (p)
|
||||
Append(ucode, ",");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue