[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: emh: checking for existing functions
- From: nospam@thanx
 
- Date: Tue, 28 Sep 1999 11:48:36 +0200 (CET)
 
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">
     </define-tag>
     <function-def foo>
  gives
     <defsubst foo>
     <set-var bar="%attributes">
     </defsubst>
- 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