Src/Interps/Ruby/ruby-1.8.6/lib/ruby/1.8/sqlite3/driver/dl/driver.rb
# 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.)
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.)
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 . )
def to_ptr
    ptr = DL.malloc(DL.sizeof("L"))
    ptr.set_object self
    ptr
  end
def to_ptr ptr = DL . malloc ( DL . sizeof ( "L" ) ) ptr . set_object self ptr end
Allows arbitrary objects to be passed as a pointer to functions.
Allows arbitrary objects to be passed as a pointer to functions .