module Hammer::Internal
Public Class Methods
arena_alloc(arena, type)
click to toggle source
# File lib/hammer/internal.rb, line 282 def self.arena_alloc(arena, type) ptr = h_arena_malloc(arena, type.size) return type.by_ref.from_native(ptr, nil) end