User guide
E-58
PLI Access Routines
acc_fetch_fullname (parent_mod));
acc_mod_lcb_del (parent_mod, line_call_back, parent_mod);
while ((child = acc_next_child (parent_mod, child))) {
register_lcb (child);
}
}
Caution
The module handle, consumer routine and user data arguments must
match those supplied to the acc_mod_lcb_add() routine for a
successful delete.
For example, using the result of a call such as acc_fetch_name()
as the user data will fail, because that routine returns a different
pointer each time it’s called.
acc_mod_lcb_enabled
Syntax
int acc_mod_lcb_enabled()
Synopsis
Test to see if line callbacks is enabled.
By default the extra code required to support line callbacks is not
added to a simulation executable. You can use this routine to
determine if line callbacks have been enabled.
Returns
Non-zero if line callbacks are enabled; 0 if not enabled.