39#include "lang/ytObject.h"
44ytEdge * ytEdge_newIndex(
int parent,
int child);
47void ytEdge_delete(
ytEdge *
this);
48void ytEdge_dump(
const ytEdge * edge, FILE * fp);
49void ytEdge_dumpv(
const ytObject * edge, FILE * fp);
50void ytEdge_setIndex(
ytEdge *
this,
int parent,
int child);
51int ytEdge_getParent(
const ytEdge * edge);
52int ytEdge_getChild(
const ytEdge *
this);
53ytObject * ytEdge_getProperty(
const ytEdge * edge,
const char * key);
54int ytEdge_numProperties(
const ytEdge * edge);
55const char * ytEdge_getPropertyKey(
const ytEdge *
this,
size_t i);
57void ytEdge_setProperty(
ytEdge *
this,
const char * key,
ytObject * value);
58void ytEdge_print(
const ytEdge *
this, FILE * fp);
59size_t ytEdge_size(
const ytEdge *
this);
60ytByte * ytEdge_serialize(
const ytEdge *
this, ytByte ** pptr);
61ytEdge * ytEdge_deserialize(ytByte **
const pptr);
62size_t ytEdge_sizeI(
const ytObject * obj);
63ytByte * ytEdge_serializeI(
const ytObject * obj, ytByte ** pptr);
64ytObject * ytEdge_deserializeI(ytByte **
const pptr);
65int ytEdge_test(
int argc,
char * argv[]);