Project

General

Profile

Bug #8692

Updated by zzak (zzak _) over 11 years ago

=begin 
 (({require 'fiddle'})) 

 
 (({libc = Fiddle.dlopen('libc.dylib')})) 

 
 (({time = Fiddle::Function.new( libc['time'], [Fiddle::TYPE_VOIDP], Fiddle::TYPE_VOIDP )})) 

 
 (({puts time.call(nil)})) 

 stack trace: https://gist.github.com/zzak/6085700 
 =end

Back