Roxen.git/
server/
modules/
tags/
indirect_href.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2001-08-17
2001-08-17 18:41:59 by Martin Nilsson <mani@lysator.liu.se>
60bf7c0055b2f6da28c38672d579e43da6c18b21 (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
5.2
Some strict type fixes
Rev: server/modules/tags/indirect_href.pike:1.29
7:
#pragma strict_types
-
constant cvs_version = "$Id: indirect_href.pike,v 1.
28
2001/
06
/
26
17:
48
:
45
nilsson Exp $";
+
constant cvs_version = "$Id: indirect_href.pike,v 1.
29
2001/
08
/
17
18
:
41
:
59
nilsson Exp $";
constant thread_safe = 1; #include <module.h>
76:
args->href=values(hrefs)[random(sizeof(hrefs))]; else args->href=hrefs[args->name];
-
m_delete(args, "name");
+
m_delete(
[mapping(string:string)]
args, "name");
-
result = Roxen.make_container("a", [mapping(string:string)]args, content);
+
result = Roxen.make_container("a", [mapping(string:string)]args,
[string]
content);
return 0; } }