Changeset 170 for Include/basic.sbp


Ignore:
Timestamp:
Mar 16, 2007, 10:01:14 AM (17 years ago)
Author:
イグトランス (egtra)
Message:

winnt.ab, windef.ab, guiddef.abを導入

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/basic.sbp

    r168 r170  
    3838TypeDef Int8 = SByte
    3939
    40 TypeDef BOOL = Long
    41 
    42 ' Boolena型の定数
     40' Boolean型の定数
    4341Const True = 1 As Boolean
    4442Const False = 0 As Boolean
     43
     44' BOOL型の定数(Booleanへの移行を推奨)
     45Const _System_TRUE = -1
     46Const _System_FALSE = 0
    4547
    4648' 文字型
     
    5052TypeDef Char = SByte
    5153#endif
    52 
    5354
    5455
     
    6162TypeDef SinglePtr = *Single
    6263TypeDef DoublePtr = *Double
    63 
    64 #ifdef _WIN64
    65 TypeDef LONG_PTR =  Int64
    66 TypeDef ULONG_PTR = QWord
    67 TypeDef HALF_PTR = Long
    68 TypeDef UHALF_PTR = DWord
    69 #else
    70 TypeDef LONG_PTR = Long
    71 TypeDef ULONG_PTR = DWord
    72 TypeDef HALF_PTR = Integer
    73 TypeDef UHALF_PTR = Word
    74 #endif
    75 TypeDef DWORD_PTR = ULONG_PTR
    7664
    7765Sub SetPointer(pPtr As VoidPtr, p As VoidPtr)
     
    10694    GetChar = p[0]
    10795End Function
    108 
    109 TypeDef SIZE_T = ULONG_PTR
    110 TypeDef SSIZE_T = LONG_PTR
    111 
    112 
    11396
    11497'--------------------------
Note: See TracChangeset for help on using the changeset viewer.