Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Value.cpp File Reference

#include "Value.h"
#include "FloatValue.h"
#include "IntValue.h"
#include "VectorValue.h"
#include "VoidValue.h"
#include "StringValue.h"
#include "ErrorValue.h"
#include "ListValue.h"

Go to the source code of this file.

Defines

#define VALUE_SUB(val1, val2)    (val1)->Calc(VALUE_SUB_OPERATOR, val2)
#define VALUE_MUL(val1, val2)    (val1)->Calc(VALUE_MUL_OPERATOR, val2)
#define VALUE_DIV(val1, val2)    (val1)->Calc(VALUE_DIV_OPERATOR, val2)
#define VALUE_NEG(val1)    (val1)->Calc(VALUE_NEG_OPERATOR, val1)

Functions

PyObjectcvalue_add (PyObject*v, PyObject*w)
PyObjectcvalue_sub (PyObject*v, PyObject*w)
PyObjectcvalue_mul (PyObject*v, PyObject*w)
PyObjectcvalue_div (PyObject*v, PyObject*w)
PyObjectcvalue_neg (PyObject*v)
int MyPyCompare (PyObject* v,PyObject* w)
int cvalue_coerce (PyObject** pv,PyObject** pw)


Define Documentation

#define VALUE_DIV( val1, val2 )   (val1)->Calc(VALUE_DIV_OPERATOR, val2)
 

Definition at line 204 of file Value.cpp.

#define VALUE_MUL( val1, val2 )   (val1)->Calc(VALUE_MUL_OPERATOR, val2)
 

Definition at line 203 of file Value.cpp.

#define VALUE_NEG( val1 )   (val1)->Calc(VALUE_NEG_OPERATOR, val1)
 

Definition at line 205 of file Value.cpp.

#define VALUE_SUB( val1, val2 )   (val1)->Calc(VALUE_SUB_OPERATOR, val2)
 

Definition at line 202 of file Value.cpp.


Function Documentation

int MyPyCompare ( PyObject * v,
PyObject * w )
 

Definition at line 59 of file Value.cpp.

PyObject * cvalue_add ( PyObject * v,
PyObject * w )
 

Definition at line 38 of file Value.cpp.

int cvalue_coerce ( PyObject ** pv,
PyObject ** pw )
 

Definition at line 76 of file Value.cpp.

PyObject * cvalue_div ( PyObject * v,
PyObject * w )
 

Definition at line 50 of file Value.cpp.

PyObject * cvalue_mul ( PyObject * v,
PyObject * w )
 

Definition at line 46 of file Value.cpp.

PyObject * cvalue_neg ( PyObject * v )
 

Definition at line 54 of file Value.cpp.

PyObject * cvalue_sub ( PyObject * v,
PyObject * w )
 

Definition at line 42 of file Value.cpp.


Generated at Thu Feb 1 13:03:29 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000