Main Page | Modules | Namespace List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

value.c File Reference

#include "basic/basicInternal.h"

Functions

static void coerce_types (value_t *v1, value_t *v2)
static int value_to_integer (value_t *vp)
value_t valueInteger (long value)
value_t valueString (char_t *value, int flags)
void valueFree (value_t *v)
value_t valueInvalid ()
value_t valueBool (int value)
value_t valueByteint (char value)
value_t valueShortint (short value)
value_t valueBig (long high_word, long low_word)
value_t valueHex (int value)
value_t valueOctal (int value)
value_t valuePercent (int value)
value_t valueBytes (char *value, int flags)
value_t valueSymbol (void *value, freeCallback freeCb)
value_t valueErrmsg (char_t *value)
value_t valueCopy (value_t v2)
value_t valueAdd (value_t v1, value_t v2)
value_t valueSub (value_t v1, value_t v2)
value_t valueMul (value_t v1, value_t v2)
value_t valueDiv (value_t v1, value_t v2)
int valueCmp (value_t v1, value_t v2)
static void coerce_types (register value_t *v1, register value_t *v2)
int valueNegative (value_t *vp)
int valueZero (value_t *vp)
void valueSprintf (char_t **out, int size, char_t *fmt, value_t vp)
void valueFprintf (FILE *fp, char_t *fmt, value_t vp)
value_t valueAtov (char_t *s, int pref_type)

Variables

static value_t value_null

Function Documentation

static void coerce_types register value_t v1,
register value_t v2
[static]
 

static void coerce_types value_t v1,
value_t v2
[static]
 

static int value_to_integer value_t vp  )  [static]
 

value_t valueAdd value_t  v1,
value_t  v2
 

value_t valueAtov char_t s,
int  pref_type
 

value_t valueBig long  high_word,
long  low_word
 

value_t valueBool int  value  ) 
 

value_t valueByteint char  value  ) 
 

value_t valueBytes char *  value,
int  flags
 

int valueCmp value_t  v1,
value_t  v2
 

value_t valueCopy value_t  v2  ) 
 

value_t valueDiv value_t  v1,
value_t  v2
 

value_t valueErrmsg char_t value  ) 
 

void valueFprintf FILE *  fp,
char_t fmt,
value_t  vp
 

void valueFree value_t v  ) 
 

value_t valueHex int  value  ) 
 

value_t valueInteger long  value  ) 
 

UEMF

value_t valueInvalid  ) 
 

value_t valueMul value_t  v1,
value_t  v2
 

int valueNegative value_t vp  ) 
 

value_t valueOctal int  value  ) 
 

value_t valuePercent int  value  ) 
 

value_t valueShortint short  value  ) 
 

void valueSprintf char_t **  out,
int  size,
char_t fmt,
value_t  vp
 

value_t valueString char_t value,
int  flags
 

value_t valueSub value_t  v1,
value_t  v2
 

value_t valueSymbol void *  value,
freeCallback  freeCb
 

int valueZero value_t vp  ) 
 


Variable Documentation

value_t value_null [static]
 


Generated on Thu Mar 2 16:11:29 2006 for VDK Blacksheep by  doxygen 1.4.1