[Vm-dev] vmmaker.h?

David T. Lewis lewis at mail.msen.com
Wed Sep 2 12:31:38 UTC 2009


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"
> 
> 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



More information about the Vm-dev mailing list