27 static long myiddisc_map(
void *state,
int objtype,
char *
str, uint64_t *
id,
int createflag) {
46 static long myiddisc_alloc(
void *state,
int objtype, uint64_t request_id) {
52 static void myiddisc_free(
void *state,
int objtype, uint64_t
id) {
70 static char *myiddisc_print(
void *state,
int objtype, uint64_t
id) {
78 static void myiddisc_close(
void *state) {
81 static void myiddisc_idregister(
void *state,
int objtype,
void *obj) {
84 Tcl_Interp *interp = ictx->
interp;
85 Tcl_CmdProc *proc =
NULL;
94 Tcl_CreateCommand(interp,
obj2cmd(obj), proc, (ClientData) gctx, (Tcl_CmdDeleteProc *)
NULL);
96 Tcl_CreateObjCommand(interp,
obj2cmd(obj), proc, (ClientData) gctx, (Tcl_CmdDeleteProc *)
NULL);
char * obj2cmd(void *obj)
int edgecmd(ClientData clientData, Tcl_Interp *interp, int argc, char *argv[])
CGRAPH_API int agstrfree(Agraph_t *, char *)
CGRAPH_API char * agstrdup(Agraph_t *, char *)
int nodecmd(ClientData clientData, Tcl_Interp *interp, int argc, char *argv[])
int graphcmd(ClientData clientData, Tcl_Interp *interp, int argc, char *argv[])
CGRAPH_API char * agstrbind(Agraph_t *g, char *)