Roxen.git/
server/
etc/
modules/
Roxen.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2009-03-19
2009-03-19 20:38:49 by Martin Stjernholm <mast@lysator.liu.se>
72b16f9cd22d2cb9c46b28497d2cac369b160b06 (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
5.2
A bit better name for the SqlNull recognition constant.
Rev: server/etc/modules/Roxen.pmod:1.270
1:
// This is a roxen pike module. Copyright © 1999 - 2004, Roxen IS. //
-
// $Id: Roxen.pmod,v 1.
269
2009/
02
/19
17
:
52
:
16
jonasw
Exp $
+
// $Id: Roxen.pmod,v 1.
270
2009/
03
/19
20
:
38
:
49
mast
Exp $
#include <roxen.h> #include <config.h>
4806:
inherit RXML.Nil; constant is_RXML_encodable = 1;
-
constant is_
sqltag_
sql_null = 1;
+
constant is_sql_null = 1;
//! Nonzero recognition constant. // Treat these objects as indistinguishable from each other. We // ought to ensure that there's only one in the pike process // instead, but that's tricky to solve in the PCode codec. int `== (mixed other)
-
{return objectp (other) && other->is_
sqltag_
sql_null;}
+
{return objectp (other) && other->is_sql_null;}
int __hash() {return 17;} string _sprintf (int flag) {return flag == 'O' && "sql_null";}