Changeset 257 in dev for trunk/abdev/BasicCompiler_Common/include/NativeCode.h
- Timestamp:
- Aug 2, 2007, 4:17:27 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/include/NativeCode.h
r256 r257 22 22 UserProc, // ユーザ定義関数呼び出し側スケジュール 23 23 AddressOf, // ユーザ定義関数位置スケジュール 24 DllProc, // DLL関数位置スケジュール 24 25 }; 25 26 … … 62 63 } 63 64 Schedule( const ::DllProc *pDllProc, long offest ) 64 : type( Schedule:: UserProc )65 : type( Schedule::DllProc ) 65 66 , offset( offset ) 66 67 , pDllProc( pDllProc ) … … 69 70 ~Schedule() 70 71 { 72 } 73 74 Type GetType() const 75 { 76 return type; 77 } 78 long GetOffset() const 79 { 80 return offset; 81 } 82 const ::DllProc &GetDllProc() const 83 { 84 if( type != Schedule::DllProc ) 85 { 86 SetError(); 87 } 88 return *pDllProc; 89 } 90 const ::UserProc &GetUserProc() const 91 { 92 if( type != Schedule::UserProc ) 93 { 94 SetError(); 95 } 96 return *pUserProc; 71 97 } 72 98 … … 188 214 return size; 189 215 } 216 const Schedules &GetSchedules() const 217 { 218 return schedules; 219 } 190 220 191 221 long GetLong( int codePos ) const … … 233 263 ObpPlus( size ); 234 264 } 235 void Put( const NativeCode &nativeCode ) 236 { 237 Put( nativeCode.codeBuffer, nativeCode.size ); 238 } 265 void Put( const NativeCode &nativeCode ); 239 266 void Put( _int64 i64data ) 240 267 {
Note:
See TracChangeset
for help on using the changeset viewer.