- Added bind_run and bind_index for goal bindings to the roledef stuff.
This commit is contained in:
parent
7fbd43986f
commit
1f96c9077a
@ -157,6 +157,8 @@ roledefInit (int type, Term label, Term from, Term to, Term msg, Claimlist cl)
|
||||
newEvent->forbidden = NULL; // no forbidden stuff
|
||||
newEvent->knowPhase = -1; // we haven't explored any knowledge yet
|
||||
newEvent->claiminfo = cl; // only for claims
|
||||
newEvent->bind_run = -1; // unbound goal
|
||||
newEvent->bind_index = -1; // unbound goal
|
||||
newEvent->next = NULL;
|
||||
return newEvent;
|
||||
}
|
||||
|
@ -80,6 +80,12 @@ struct roledef
|
||||
//! Pointer to claim type info
|
||||
Claimlist claiminfo;
|
||||
|
||||
/*
|
||||
* Bindings for Arachne engine
|
||||
*/
|
||||
int bind_run; //!< -1 for unbound
|
||||
int bind_index;
|
||||
|
||||
/* evt runid for synchronisation, but that is implied in the
|
||||
base array */
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user