Changeset 595 for trunk/testcase/570main.cpp
- Timestamp:
- Aug 15, 2003, 3:39:52 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/testcase/570main.cpp
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r594 r595 60 60 typedef PTYPE (* _System PTypedef1PType)(void); 61 61 62 /* Alternate writing which should have the same effect I think... */ 62 63 typedef void (_System * PTypedef2Void)(void); 63 64 typedef void * (_System * PTypedef2PVoid)(void); … … 72 73 typedef struct VFT 73 74 { 74 void (_System * PStructMemberVoid)(void* pvThis); 75 void * (_System * PStructMemberPVoid)(void* pvThis); 76 int (_System * PStructMemberInt)(void* pvThis); 77 PTYPE (_System * PStructMemberPType)(void* pvThis); 75 void (* _System PStructMemberVoid)(void* pvThis); 76 void * (* _System PStructMemberPVoid)(void* pvThis); 77 int (* _System PStructMemberInt)(void* pvThis); 78 PTYPE (* _System PStructMemberPType)(void* pvThis); 79 80 /* Alternate writing which should have the same effect I think... */ 81 void ( _System * PStructMember2Void)(void* pvThis); 82 void * ( _System * PStructMember2PVoid)(void* pvThis); 83 int ( _System * PStructMember2Int)(void* pvThis); 84 PTYPE ( _System * PStructMember2PType)(void* pvThis); 85 78 86 } VFT, *PVFT; 79 87 … … 113 121 vft.PStructMemberPType(&vft); 114 122 123 /* test C stuff */ 115 124 DoC(); 125 126 /** @todo test typedefs and structure field. */ 116 127 117 128 return 0; -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.