public void AddDataDef(DataDef datadef) { if (data_table [datadef.Name] != null) { Report.Error("Duplicate global label '" + datadef.Name + "'"); } data_table [datadef.Name] = datadef; }
public PEAPI.DataConstant GetDataConst(string name) { DataDef def = (DataDef)data_table [name]; if (def == null) { return(null); } return((DataConstant)def.PeapiConstant); }
public void AddDataDef (DataDef datadef) { if (data_table [datadef.Name] != null) Report.Error ("Duplicate global label '" + datadef.Name + "'"); data_table [datadef.Name] = datadef; }