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

Re: emh: checking for existing functions

On Mon, 27 Sep 1999, Xose Manoel Ramos wrote:

>  Is there a general way to discover if a certain tag/container is being
>  already defined?

I do not have time to give a definitive answer, but here are some hints :
- the <function-def> tag expands to the definition of user defined
  functions, e.g. 
     <define-tag foo>
     <set-var bar="%attributes">
     <function-def foo>
     <defsubst foo>
     <set-var bar="%attributes">
- look at p2_mhc/libmhtml/packfuncs.c you will find how MetaHTML
  internally stores function and variables. But i believe that MetaHTML
  is slow because of that, so it could be changed in future releases.

Denis Barbier
WML Maintainer

Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com