Branch: Tag:

1997-04-30

1997-04-30 01:47:03 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

eh, b├Ąttre doc och uppdaterad doc...
polygoner...

Rev: src/modules/Image/doc/Image.html:1.3
Rev: src/modules/Image/doc/Image.image.html:1.4
Rev: src/modules/Image/image.c:1.26
Rev: src/modules/Image/image.h:1.7
Rev: src/modules/Image/mkdoc.pike:1.5
Rev: src/modules/Image/togif.c:1.7

71:    "arg":lambda(string arg,int line)    {    if (!methodM) return complain("arg w/o method"); -  if (nowM!=argM || !argM) -  { if (!methodM->args) methodM->args=({}); -  methodM->args+=({argM=nowM=(["args":({}),"_line":line])}); } +  if (!methodM->args) methodM->args=({}); +  methodM->args+=({argM=nowM=(["args":({}),"_line":line])});    argM->args+=({arg}); descM=argM;    },    "note":lambda(string arg,int line)
185:    res+="\n\n<blockquote>\n"+fixdesc(info->desc,myprefix)+    "\n</blockquote>\n";    -  if (info->note) +  if (info->note && info->note->desc)    res+="\n\n<h4>NOTE</h4>\n<blockquote>\n"+    fixdesc(info->note->desc,myprefix)+"\n</blockquote>\n";   
277:    f->write("<h4>ARGUMENTS</h4>\n<blockquote><dl>\n");    foreach (method->args,arg)    { +  if (arg->desc)    f->write("<dt><tt>"+arg->args*"</tt>\n<dt><tt>"+    "</tt>\n <dd>"+    fixdesc(arg->desc,prefix)+"\n"); -  +  else +  f->write("<dt><tt>"+arg->args*"</tt>\n<dt><tt>"+ +  "</tt>\n");    }    f->write("</dl></blockquote>\n");    }
290:    "\n\n<blockquote>\n"+method->returns+"\n</blockquote>\n");    }    -  if (method->note) +  if (method->note && method->note->desc)    {    f->write("\n\n<h4>NOTE</h4>\n<blockquote>\n"+ -  method->desc+"\n</blockquote>\n"); +  fixdesc(method->note->desc,prefix)+"\n</blockquote>\n");    }       if (method["see also"])
324:    string *method_names_arr,method_name;    mapping method;    +  if (info->methods)    foreach (info->methods,method)    method_names|=(method->names=get_method_names(method->decl));