view dmd/ObjModule.d @ 148:fe2e1b93e88f

phobos compiles now: * fixed upgrade mistake in interpret.Util + implemented missing methods in RealExp,VarExp
author Trass3r
date Wed, 15 Sep 2010 03:58:55 +0200
parents 10317f0c89a5
children
line wrap: on
line source

module dmd.ObjModule;

struct ObjModule
{
	ubyte* base;			// where are we holding it in memory
    uint length;			// in bytes
    ushort page;			// page module starts in output file
    ubyte flags;
    string name;				// module name
}

enum MFgentheadr = 1;	// generate THEADR record
enum MFtheadr = 2;	// module name comes from THEADR record