node/lib/metasm/metasm/parse_c.rb
# allocate a new AllocCStruct from the struct/struct typedef name of the current toplevel
# optionally populate the fields using the 'values' hash
allocate a new AllocCStruct from the struct/struct typedef name of the current toplevel
optionally populate the fields using the 'values' hash
allocate a new AllocCStruct from the struct / struct typedef name of the current toplevel optionally populate the fields using the ' values ' hash
def alloc_c_struct(structname, values=nil)
			struct = find_c_struct(structname)
			st = AllocCStruct.new(self, struct)
			values.each { |k, v| st[k] = v } if values
			st
		end
def alloc_c_struct ( structname , values = nil ) struct = find_c_struct ( structname ) st = AllocCStruct . new ( self , struct ) values . each { | k , v | st [ k ] = v } if values st end
allocate a new AllocCStruct from the struct/struct typedef name of the current toplevel
optionally populate the fields using the 'values' hash
allocate a new AllocCStruct from the struct / struct typedef name of the current toplevel optionally populate the fields using the ' values ' hash
structname
values