p2  0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PNBoolean Class Reference

From cmp (x<y) to immediate object (no struct) 0x...2. More...

#include <potion.h>

Public Member Functions

static PN potion_bool_number (Potion *P, PN closure, PN self)
 
static PN potion_bool_string (Potion *P, PN closure, PN self)
 

Detailed Description

From cmp (x<y) to immediate object (no struct) 0x...2.

PN_TRUE (0x6) or PN_FALSE (0x2)

Member Function Documentation

static PN potion_bool_number ( Potion P,
PN  closure,
PN  self 
)

"number" method

Returns
0 or 1

Definition at line 78 of file primitive.c.

static PN potion_bool_string ( Potion P,
PN  closure,
PN  self 
)

"string" method

Returns
"true" or "false" as PNString

Definition at line 85 of file primitive.c.


The documentation for this class was generated from the following files: