int type = exnode->data.variable.index->type;
if (type != STRING) {
if (!BUILTIN(type)) {
- key = (*ex->disc->keyf) (ex, v, type, ex->disc);
+ key = (*ex->disc->keyf) (v, type);
} else
key.integer = v.integer;
snprintf(buf, sizeof(buf), "%llx", (unsigned long long)key.integer);
int type = exnode->data.variable.index->type;
if (type != STRING) {
if (!BUILTIN(type)) {
- key = (*ex->disc->keyf) (ex, v, type, ex->disc);
+ key = (*ex->disc->keyf) (v, type);
} else
key.integer = v.integer;
snprintf(buf, sizeof(buf), "%llx", (unsigned long long)key.integer);
/* application type names */
int (*stringof) (Expr_t *, Exnode_t *, int, Exdisc_t *);
/* value to string conversion */
- Extype_t (*keyf) (Expr_t *, Extype_t, int, Exdisc_t *);
+ Extype_t (*keyf) (Extype_t, int);
/* dictionary key for external type objects */
Exerror_f errorf; /* error function */
Extype_t (*getf)(Expr_t*, Exnode_t*, Exid_t*, Exref_t*, void*, int, Exdisc_t*);
* Calculate unique key for object.
* We use this to unify local copies of nodes and edges.
*/
-static Extype_t keyval(Expr_t * pgm, Extype_t v, int type, Exdisc_t * disc)
-{
- (void)pgm;
- (void)disc;
-
+static Extype_t keyval(Extype_t v, int type) {
if (type <= T_obj) {
v.integer = AGID(int2ptr(v.integer));
}