Created
July 28, 2011 02:50
-
-
Save nagachika/1110870 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "dl/func" | |
include DL | |
GC.stress = true | |
Function.new(CFunc.new(0, TYPE_INT, 'name'), | |
[TYPE_VOIDP, TYPE_VOIDP]){|x,y| | |
x.inspect | |
0 | |
}.call(0, 0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment