[Vm-dev] Re: About Freetype plugin and BYTES_PER_WORD

Igor Stasenko siguctua at gmail.com
Thu Sep 1 13:28:45 UTC 2011


The generated interp.h
in cog vms includes following:

#define SQ_VI_BYTES_PER_WORD 4

but not
BYES_PER_WORD


On 1 September 2011 15:25, Igor Stasenko <siguctua at gmail.com> wrote:
> Hi, Dave,
> your changes are not working well with Cog builds, since this macro is
> not defined anywhere.
> Do you know, what/where it should be defined?
>
>
> Name: Freetype-Plugin-dtl.62
> Author: dtl
> Time: 21 August 2011, 12:03:54.438 pm
> UUID: 0bae20f0-a128-4120-9276-252374a8a5ae
> Ancestors: Freetype-Plugin-IgorStasenko.61
>
> Update bytesPerWord for compatibility with VMMaker trunk.
>
> Background: VMM trunk generates code for 32/64 bit object memories as
> compile time option. The code generator emits required macros, and
> many class variables (e.g. BYTES_PER_WORD) no longer exist in the
> image. The trunk ObjectMemory>>bytesPerWord will work for both oscog
> and trunk, so copy this method into FT2Plugin.
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>



-- 
Best regards,
Igor Stasenko AKA sig.


More information about the Vm-dev mailing list