Changeset 150 for Include/basic.sbp


Ignore:
Timestamp:
Mar 11, 2007, 1:11:46 PM (17 years ago)
Author:
イグトランス (egtra)
Message:

参照型導入に備え、構造体 (Type)代わりにクラスを使っていた部分を構造体へ戻すほか

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/basic.sbp

    r146 r150  
    6565#endif
    6666TypeDef DWORD_PTR = ULONG_PTR
     67
     68Sub SetPointer(pPtr As VoidPtr, p As VoidPtr)
     69    Set_LONG_PTR(pPtr, p As LONG_PTR)
     70End Sub
     71
     72Function GetPointer(pPtr As VoidPtr) As VoidPtr
     73    GetPointer = Get_LONG_PTR(pPtr) As VoidPtr
     74End Function
    6775
    6876Sub Set_LONG_PTR(pPtr As VoidPtr, lpData As LONG_PTR)
Note: See TracChangeset for help on using the changeset viewer.