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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/api_winsock2.sbp

    r42 r150  
    109109
    110110
    111 Class hostent
    112 Public
     111Type /*Class*/ hostent
     112'Public
    113113    h_name As *Byte
    114114    h_aliases As **Byte
     
    116116    h_lengt As Integer
    117117    h_addr_list As **Byte
    118 
     118/*
    119119    Function h_addr() As *Byte
    120120        Return h_addr_list[0]
     
    124124        h_addr_list[0] = i
    125125    End Sub
    126 End Class
     126*/
     127End /*Class*/
    127128
    128129Type netent
     
    220221#define s_addr
    221222' Internet address (old style... should be updated)
    222 Class in_addr
    223 Public
     223Type /*Class*/ in_addr
     224'Public
    224225/*
    225226    Union S_un
     
    238239*/
    239240    s_addr As DWord
    240 
     241/*
    241242    Function s_host() As Byte
    242243        Return GetByte(VarPtr(s_addr) + 1)
     
    278279        Return SetByte(VarPtr(s_addr) + 2, l)
    279280    End Sub
    280 End Class
     281*/
     282End Type 'Class
    281283#endif
    282284
     
    835837End Type
    836838
    837 Class WSACOMPLETION
    838 Public
     839Type /*Class*/ WSACOMPLETION
     840'Public
    839841    Type_ As WSACOMPLETIONTYPE
    840842/*
     
    847849*/
    848850    Port As _System_WinSock_WSACOMPLETION_PORT
    849 
     851/*
    850852    Function WindowMessage() As _System_WinSock_WSACOMPLETION_WINDOWMESSAGE
    851853        Dim p As *_System_WinSock_WSACOMPLETION_WINDOWMESSAGE
     
    896898    End Sub
    897899*/
    898 End Class
     900End Type 'Class
    899901
    900902TypeDef PWSACOMPLETION = *WSACOMPLETION
Note: See TracChangeset for help on using the changeset viewer.