[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-dev] SWF4 compatibility

From: strk
Subject: [Gnash-dev] SWF4 compatibility
Date: Thu, 21 Sep 2006 16:21:12 +0200

While working on bug
I realised that some features have been *obsoleted* starting
at a given SWF version.

In this case it was variables in the form:

I think it would be worth having the possibility
to reduce Gnash to only support a given range of SWF versions.
For embedded systems, in which only a specific set of movies
would be played this would be handy as it will improve
performance. For example, a variable containing the slash
or colun chars would just be invalid if SWF version is > 4.

Another example is case sensitiveness in variable names, which
changed since I dunno which version.

So, what should we use to compile-time remove support for
different versions ?

I don't think it is possible to have a macro expand to code
containing other CPP statments, like in:


        #define IF_SWF_VERSION_SUPPORTED(v, x) \
           .. can we add other compile-time checks here ?..


Any solution, like dynamic macros setting (using ## or similar...) ?



 /"\    ASCII Ribbon Campaign
 \ /    Respect for low technology.
  X     Keep e-mail messages readable by any computer system.
 / \    Keep it ASCII. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]