Mercurial > projects > ddmd
diff dmd/ObjModule.d @ 0:10317f0c89a5
Initial commit
author | korDen |
---|---|
date | Sat, 24 Oct 2009 08:42:06 +0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dmd/ObjModule.d Sat Oct 24 08:42:06 2009 +0400 @@ -0,0 +1,13 @@ +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 \ No newline at end of file