Class | DL::Packer |
In: |
dl/lib/dl/pack.rb
|
Parent: | Object |
# File dl/lib/dl/pack.rb, line 123 def pack(ary) case SIZEOF_VOIDP when SIZEOF_LONG ary.pack(@template) when SIZEOF_LONG ary.pack(@template) else raise(RuntimeError, "sizeof(void*)?") end end