pike.git/
src/
modules/
_Roxen/
roxen.c
Branch:
Tag:
Non-build tags
All tags
No tags
2002-07-02
2002-07-02 11:59:15 by Per Hedbor <ph@opera.com>
2a33f0600185f97f14d157bbb63aad4d4ebc0b96 (
10
lines) (+
4
/-
6
)
[
Show
|
Annotate
]
Branch:
7.9
Optimized html_encode_string
Rev: src/modules/_Roxen/roxen.c:1.27
348:
switch( Pike_sp[-1].type ) {
-
struct pike_string *s;
-
void o_cast
(struct pike
_
string *type, INT32 run
_
time_type
);
+
void o_cast_
to_
string
(
);
case PIKE_T_INT: /* Optimization, this is basically a inlined cast_int_to_string */
383:
/* Optimization, no need to check the resultstring for * unsafe characters. */
-
MAKE_CONSTANT_SHARED_STRING( s, tString );
-
o_cast
(s, PIKE
_
T
_
STRING
);
+
o_cast_
to
_
string(
);
return; default:
-
MAKE_CONSTANT_SHARED_STRING( s, tString );
-
o_cast
(s, PIKE
_
T
_
STRING
);
+
o_cast_
to
_
string(
);
case PIKE_T_STRING: break; }