instance method DL::Symbol#name
name -> String
-
関数名を文字列で返します。
require 'dl' h = DL.dlopen('./libtest.so') s = h.sym('slen', 'IS') p s.name #=> "slen"
class DL::Symbol
name -> String
関数名を文字列で返します。
require 'dl' h = DL.dlopen('./libtest.so') s = h.sym('slen', 'IS') p s.name #=> "slen"