Methods
Public Instance methods
Allows arbitrary objects to be passed as a pointer to functions. (Probably not very GC safe, but by encapsulating it like this we can change the implementation later.)
[ show source ]
# File lib/sqlite3/driver/dl/driver.rb, line 39 39: def to_ptr 40: ptr = DL.malloc(DL.sizeof("L")) 41: ptr.set_object self 42: ptr 43: end