singleton method DL::PtrData.malloc
malloc(size, free = nil) -> DL::PtrData
-
[TODO]
サイズが size であるメモリ領域を確保し、それを指す DL::PtrData を返します。
- [PARAM] size:
- 確保したいメモリ領域のサイズを指定します。
- [PARAM] free:
- 返り値にセットされる free 関数を DL::Symbol で指定します。
class DL::PtrData
malloc(size, free = nil) -> DL::PtrData
[TODO]
サイズが size であるメモリ領域を確保し、それを指す DL::PtrData を返します。