[Vm-dev] vmmaker.h?

Igor Stasenko siguctua at gmail.com
Wed Sep 2 21:38:05 UTC 2009


2009/9/2 David T. Lewis <lewis at mail.msen.com>:
>
> On Tue, Sep 01, 2009 at 08:43:19PM -0700, Andreas Raab wrote:
>>
>> Is it possible to have VMMaker create a vmmaker.h file that one can
>> include to determine the VMMaker version the VM was generated from? It
>> would be enough if it says, e.g.,
>>
>> #define VMMAKER_VERSION "3.11.3"

i think, it would be much better to have:
#define VMMAKER_VERSION  "VMMaker-dtl.138"

and also, maybe:
#define VMMAKER_DATESTAMP  "3 Sep 2009 10:05 pm"

>>
>> This way we could use that in the relevant places to ensure we display
>> which version the VM was generated from.
>
> Good idea, this is in VMMaker-dtl.138 on SqueakSource.
>
> I put the macro in the existing interp.h header file, which is generated
> as src/vm/interp.h, so you should not need to #include anything.
>
> Dave
>
>



-- 
Best regards,
Igor Stasenko AKA sig.


More information about the Vm-dev mailing list