Methods
Public Instance methods
to_ptr()

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.)

    # File lib/sqlite3/driver/dl/driver.rb, line 11
11:   def to_ptr
12:     ptr = DL.malloc(DL.sizeof("L"))
13:     ptr.set_object self
14:     ptr
15:   end