#include "gobj/nativetypes.h"
#include "gobj/lang.h"
#include "gobj/object.h"
#include "gobj/model.h"
#include "gobj/viewer.h"
#include "gobj/path.h"
#include "gobj/ids.h"
#include "gobj/errormgr.h"
#include "bignum/bignum.h"
Defines | |
#define | NATIVEOFFSET (sizeof(Gj_Object)) |
The native value offset from the object structure. | |
#define | NATIVEVAL(obj,type) (*(type *)(((int)(obj)) + NATIVEOFFSET)) |
Macro to convert an object pointer to an lvalue of the given native type. | |
Functions | |
int | Gj_nativetypes_getAllocSize (Gj_Nativetype type) |
const char* | Gj_nativetypes_getName (Gj_Nativetype type) |
int | Gj_nativetypes_init (Gj_Ctx* ctx, Gj_Object* obj, Gj_Nativetype type) |
int | Gj_nativetypes_read (Gj_Ctx* ctx, Gj_Object* obj, Gj_Nativetype type, Gj_Stream* stream) |
int | Gj_nativetypes_copy (Gj_Ctx* ctx, Gj_Nativetype type, Gj_Object* src, Gj_Object* dest, Gj_Bool flat) |
int | Gj_nativetypes_finalize (Gj_Ctx* ctx, Gj_Object* obj, Gj_Nativetype type) |
int | Gj_nativetypes_write (Gj_Ctx* ctx, Gj_Object* obj, Gj_Nativetype type, Gj_Stream* stream) |
int | Gj_object_setNInt (Gj_Ctx* ctx, Gj_Object* obj, Gj_NInt val) |
int | Gj_object_setNFloat (Gj_Ctx* ctx, Gj_Object* obj, Gj_NFloat val) |
int | Gj_object_setNChar (Gj_Ctx* ctx, Gj_Object* obj, Gj_NChar val) |
int | Gj_object_setNString (Gj_Ctx* ctx, Gj_Object* obj, Gj_NString val) |
int | Gj_object_setNBool (Gj_Ctx* ctx, Gj_Object* obj, Gj_NBool val) |
int | Gj_object_setNLink (Gj_Ctx* ctx, Gj_Object* obj, Gj_NLink val) |
int | Gj_object_setNParamLink (Gj_Ctx* ctx, Gj_Object* obj, Gj_NParamLink val) |
int | Gj_object_setNPropertyLink (Gj_Ctx* ctx, Gj_Object* obj, Gj_NPropertyLink val) |
int | gj_object_setNParamPropertyLinkPtr (Gj_Ctx* ctx, Gj_Object* obj, Gj_Object* val) |
int | Gj_object_setNData (Gj_Ctx* ctx, Gj_Object* obj, Gj_NData val) |
int | Gj_object_getNInt (Gj_Ctx* ctx, Gj_Object* obj, Gj_NInt* val) |
int | Gj_object_getNFloat (Gj_Ctx* ctx, Gj_Object* obj, Gj_NFloat* val) |
int | Gj_object_getNChar (Gj_Ctx* ctx, Gj_Object* obj, Gj_NChar* val) |
int | Gj_object_getNString (Gj_Ctx* ctx, Gj_Object* obj, Gj_NString* val) |
int | Gj_object_getNBool (Gj_Ctx* ctx, Gj_Object* obj, Gj_NBool* val) |
int | Gj_object_getNLink (Gj_Ctx* ctx, Gj_Object* obj, Gj_NLink* val) |
int | Gj_object_getNParamLink (Gj_Ctx* ctx, Gj_Object* obj, Gj_NParamLink* val) |
int | Gj_object_getNPropertyLink (Gj_Ctx* ctx, Gj_Object* obj, Gj_NPropertyLink* val) |
int | gj_object_getNParamPropertyLinkPtr (Gj_Ctx* ctx, Gj_Object* obj, Gj_Object** val) |
int | Gj_object_getNData (Gj_Ctx* ctx, Gj_Object* obj, Gj_NData* val) |
Gj_Object* | gj_object_resolveNLink (Gj_Ctx* ctx, Gj_Object* obj, Gj_Bool* remote) |
int | gj_object_resolveParamPropertyLinks (Gj_Ctx* ctx, Gj_Object* obj, gj_Linkrecord* linkrecord) |
Variables | |
char | nativenames [][30] |
Nativetype names. More... | |
int | nativesizes [] |
Nativetype sizes. More... |
|
Initializer: { _("none"), _("int"), _("float"), _("char"), _("string"), _("bool"), _("link"), _("parameter link"), _("property link"), _("data") }
|
|
Initializer: { 0, sizeof(Gj_NInt), sizeof(Gj_NFloat), sizeof(Gj_NChar), sizeof(Gj_NString), sizeof(Gj_NBool), sizeof(gj_NLink), sizeof(gj_NParamLink), sizeof(gj_NPropertyLink), sizeof(gj_NData) }
|