Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more

In Files

  • dl/lib/dl/types.rb

Methods

DL::Win32Types

Public Class Methods

included(m) click to toggle source
 
               # File dl/lib/dl/types.rb, line 3
def included(m)
  m.module_eval{
    typealias "DWORD", "unsigned long"
    typealias "PDWORD", "unsigned long *"
    typealias "WORD", "unsigned short"
    typealias "PWORD", "unsigned short *"
    typealias "BOOL", "int"
    typealias "ATOM", "int"
    typealias "BYTE", "unsigned char"
    typealias "PBYTE", "unsigned char *"
    typealias "UINT", "unsigned int"
    typealias "ULONG", "unsigned long"
    typealias "UCHAR", "unsigned char"
    typealias "HANDLE", "unsigned long"
    typealias "PHANDLE", "void*"
    typealias "PVOID", "void*"
    typealias "LPCSTR", "char*"
    typealias "LPSTR", "char*"
    typealias "HINSTANCE", "unsigned int"
    typealias "HDC", "unsigned int"
    typealias "HWND", "unsigned int"
  }
end