Sha256: 48724e05cdf0335f19cf07df2e7c48963fa0dc2a50fa72d6c55a35d6778dbff3
Contents?: true
Size: 1.11 KB
Versions: 4
Compression:
Stored size: 1.11 KB
Contents
module FreeImage #DLL_API const char *DLL_CALLCONV FreeImage_GetVersion(void); attach_function('FreeImage_GetVersion', [], :string) #DLL_API const char *DLL_CALLCONV FreeImage_GetCopyrightMessage(void); attach_function('FreeImage_GetCopyrightMessage', [], :string) #DLL_API BOOL DLL_CALLCONV FreeImage_IsLittleEndian(void); attach_function('FreeImage_IsLittleEndian', [], FreeImage::Boolean) ## # :call-seq: # version -> string # # Returns the current version of the FreeImage library # def self.version FreeImage.FreeImage_GetVersion end ## # :call-seq: # copyright -> string # # Returns a standard copyright message you can show in your program. # def self.copyright FreeImage.FreeImage_GetCopyrightMessage end ## # :call-seq: # is_little_endian? -> boolean # # Returns TRUE if the platform running FreeImage uses the Little Endian # convention (Intel processors) and returns FALSE if it uses the Big Endian # (Motorola processors). # def self.little_endian? FreeImage.FreeImage_IsLittleEndian end end
Version data entries
4 entries across 4 versions & 1 rubygems