module FFI::Library
def ffi_convention(convention = nil)
-
(Symbol)
- the new calling convention
Parameters:
-
convention
(Symbol
) -- one of +:default+, +:stdcall+
Other tags:
- Note: - +:stdcall+ is typically used for attaching Windows API functions
Other tags:
- See: http://en.wikipedia.org/wiki/Stdcall#stdcall -
def ffi_convention(convention = nil) @ffi_convention ||= :default @ffi_convention = convention if convention @ffi_convention end