diff options
author | Karl Berry <karl@freefriends.org> | 2010-06-14 23:14:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-06-14 23:14:16 +0000 |
commit | c2175edc7aa44ca0b526f008d473d6f8a8ac4933 (patch) | |
tree | d6c491676b413ad1922481f8c3fc7b64c3afc0a5 /Build/source/utils/asymptote/record.h | |
parent | 5d08e9ff4fe5fc836d237ea08e82c82b27d558a2 (diff) |
asy 1.98
git-svn-id: svn://tug.org/texlive/trunk@18982 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/record.h')
-rw-r--r-- | Build/source/utils/asymptote/record.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Build/source/utils/asymptote/record.h b/Build/source/utils/asymptote/record.h index 4e7e66a3b92..b11ffcc53b7 100644 --- a/Build/source/utils/asymptote/record.h +++ b/Build/source/utils/asymptote/record.h @@ -26,7 +26,7 @@ namespace types { struct record : public ty { // The base name of this type. - symbol *name; + symbol name; // The frame. Like a frame for a function, it allocates the accesses // for fields and specifies the size of the record. @@ -44,10 +44,10 @@ public: // defined by "operator init" are stored here. protoenv postdefenv; - record(symbol *name, frame *level); + record(symbol name, frame *level); ~record(); - symbol *getName() + symbol getName() { return name; } @@ -89,16 +89,16 @@ public: } // Create a statically enclosed record from this record. - record *newRecord(symbol *id, bool statically); + record *newRecord(symbol id, bool statically); void print(ostream& out) const { - out << *name; + out << name; } void debug(ostream& out) const { - out << "struct " << *name << endl; + out << "struct " << name << endl; out << "types:" << endl; out << "re-implement" << endl; //out << te; @@ -113,7 +113,7 @@ public: // language. class dummyRecord : public record { public: - dummyRecord(symbol *name); + dummyRecord(symbol name); dummyRecord(string s); // Convenient functions for adding fields. |