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
            

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.

blog comments powered by Disqus