Roxen.git / server / base_server / module.pike

version» Context lines:

Roxen.git/server/base_server/module.pike:1: - /* $Id: module.pike,v 1.39 1999/04/24 17:55:02 grubba Exp $ */ + /* $Id: module.pike,v 1.40 1999/05/18 03:54:38 per Exp $ */      #include <module.h>      #define TRACE_ENTER(A,B) do{if(id->misc->trace_enter)id->misc->trace_enter((A),(B));}while(0)   #define TRACE_LEAVE(A) do{if(id->misc->trace_leave)id->misc->trace_leave((A));}while(0)      mapping (string:mixed *) variables=([]);      object this = this_object();   int module_type;
Roxen.git/server/base_server/module.pike:644:    case "black": weight=2; break;    }    switch(query(base+"_slant"))    {    case "obligue": slant=-1; break;    default: slant=0; break;    case "italic": slant=1; break;    }    return get_font(query(base+"_font"), 32, weight, slant, "left", 0, 0);   } +  +  + mapping query_tag_callers() + { +  mapping m = ([]); +  foreach(glob("tag_*", indices( this_object())), string q) +  if(functionp( this_object()[q] )) +  m[replace(q[4..], "_", "-")] = this_object()[q]; +  return m; + } +  + mapping query_container_callers() + { +  mapping m = ([]); +  foreach(glob("container_*", indices( this_object())), string q) +  if(functionp( this_object()[q] )) +  m[replace(q[10..], "_", "-")] = this_object()[q]; +  return m; + } +  + mapping query_if_callers() + { +  mapping m = ([]); +  foreach(glob("if_*", indices( this_object())), string q) +  if(functionp( this_object()[q] )) +  m[replace(q[3..], "_", "-")] = this_object()[q]; +  return m; + }