#include <gobjconfig.h>
#include <gobj/decls.h>
#include <gobj/context.h>
#include <gobj/types.h>
#include <gobj/path.h>
#include <gobj/id.h>
#include <gobj/stream.h>
#include <wchar.h>
Go to the source code of this file.
Compounds | |
struct | gj_NLink_struct |
struct | gj_NParamLink_struct |
struct | gj_NPropertyLink_struct |
struct | gj_NData_struct |
Defines | |
#define | Gj_stream_writeNInt(ctx, stream, val) Gj_stream_writeInt((ctx), (stream), (val)) |
#define | Gj_stream_writeNFloat(ctx, stream, val) Gj_stream_writeDouble((ctx), (stream), (val)) |
#define | Gj_stream_writeNBignum(ctx, stream, val) Gj_bignum_write((ctx), (val), (stream)) |
#define | Gj_stream_writeNChar(ctx, stream, val) Gj_stream_writeWchar((ctx), (stream), (val)) |
#define | Gj_stream_writeNString(ctx, stream, val) Gj_stream_writeStr((ctx), (stream), (val)) |
#define | Gj_stream_writeNBool(ctx, stream, val) Gj_stream_writeChar((ctx), (stream), (val)) |
#define | Gj_stream_writeNLink(ctx, stream, val) Gj_path_write((ctx), (val), (stream)) |
#define | Gj_stream_writeNParamLink(ctx, stream, val) Gj_stream_writeInt((ctx), (stream), (val)) |
#define | Gj_stream_writeNPropertyLink(ctx, stream, val) Gj_stream_writeInt((ctx), (stream), (val)) |
#define | Gj_stream_writeNData(ctx, stream, val) (-1) |
#define | Gj_stream_readNInt(ctx, stream, val) Gj_stream_readInt((ctx), (stream), (val)) |
#define | Gj_stream_readNFloat(ctx, stream, val) Gj_stream_readDouble((ctx), (stream), (val)) |
#define | Gj_stream_readNBignum(ctx, stream, val) (*(val) = Gj_bignum_create((ctx), (stream)), *(val) == 0 ? -1 : 0) |
#define | Gj_stream_readNChar(ctx, stream, val) Gj_stream_readWchar((ctx), (stream), (val)) |
#define | Gj_stream_readNString(ctx, stream, val) Gj_stream_readStr((ctx), (stream), (val)) |
#define | Gj_stream_readNBool(ctx, stream, val) Gj_stream_readChar((ctx), (stream), (val)) |
#define | Gj_stream_readNLink(ctx, stream, val) (*(val) = Gj_path_create((ctx), (stream)), *(val) == 0 ? -1 : 0) |
#define | Gj_stream_readNParamLink(ctx, stream, val) Gj_stream_readInt((ctx), (stream), (val)) |
#define | Gj_stream_readNPropertyLink(ctx, stream, val) Gj_stream_readInt((ctx), (stream), (val)) |
#define | Gj_stream_readNData(ctx, stream, val) (-1) |
Typedefs | |
typedef int | Gj_NInt |
The native integer typedef. | |
typedef double | Gj_NFloat |
The native float typedef. | |
typedef Gj_Bignum* | Gj_NBignum |
The native bignum typedef. | |
typedef wchar_t | Gj_NChar |
The native char typedef. | |
typedef char* | Gj_NString |
The native string typedef. | |
typedef Gj_Bool | Gj_NBool |
The native bool typedef. | |
typedef struct gj_NLink_struct | gj_NLink |
The native (real) link typedef. More... | |
typedef Gj_Path* | Gj_NLink |
The native link typedef. | |
typedef struct gj_NParamLink_struct | gj_NParamLink |
The native (real) paramlink typedef. More... | |
typedef int | Gj_NParamLink |
The native paramlink typedef. | |
typedef struct gj_NPropertyLink_struct | gj_NPropertyLink |
The native (real) propertylink typedef. More... | |
typedef int | Gj_NPropertyLink |
The native propertylink typedef. | |
typedef struct gj_NData_struct | gj_NData |
The native (real) data typedef. More... | |
typedef void* | Gj_NData |
The native data typedef. | |
typedef enum Gj_Nativetype_enum | Gj_Nativetype |
Nativetype enum. | |
typedef struct gj_Linkrecord_struct | gj_Linkrecord |
Enumerations | |
enum | Gj_Nativetype_enum { GJ_NTYPES_NONE = 0, GJ_NTYPES_INT, GJ_NTYPES_FLOAT, GJ_NTYPES_BIGNUM, GJ_NTYPES_CHAR, GJ_NTYPES_STRING, GJ_NTYPES_BOOL, GJ_NTYPES_LINK, GJ_NTYPES_PARAMLINK, GJ_NTYPES_PROPERTYLINK, GJ_NTYPES_DATA } |
Nativetype enum. | |
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_setNBignum (Gj_Ctx* ctx, Gj_Object* obj, Gj_NBignum 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_setNData (Gj_Ctx* ctx, Gj_Object* obj, Gj_NData val) |
int | gj_object_setNParamPropertyLinkPtr (Gj_Ctx* ctx, Gj_Object* obj, Gj_Object* 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_getNBignum (Gj_Ctx* ctx, Gj_Object* obj, Gj_NBignum* 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_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_getNData (Gj_Ctx* ctx, Gj_Object* obj, Gj_NData* val) |
int | gj_object_getNParamPropertyLinkPtr (Gj_Ctx* ctx, Gj_Object* obj, Gj_Object** 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) |
|
The native (real) link typedef.
For internal use only. |
|
The native (real) paramlink typedef.
For internal use only. |
|
The native (real) propertylink typedef.
For internal use only. |
|
The native (real) data typedef.
For internal use only. |