Ruby ã«ã¯ãã¤ãããã¯ãªã³ã«ã¸ã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ãç¨æããã¦ããã®ã§ãããå©ç¨ãã¦ã¿ã¾ãã DL::Importable ãå©ç¨ãããããã¡ã¤ã«ãåèã«ããªããã©ã¤ãã©ãªé¢æ°ã«å¯¾ãã¦ã©ããã¼ã¡ã½ãããå®ç¾©ãã¦ããã¾ãã pasori.rb require 'dl/import' module Pasori extend DL::Importable dlload '/usr/local/lib/libpasori.dylib' typealias 'uint8', 'unsigned char' typealias 'uint16', 'unsigned int' #typealias 'uint16', 'unsigned short int' # libpasori.h extern 'pasori* pasori_open(char*)' extern 'void pasori_
{{#tags}}- {{label}}
{{/tags}}