| 89 | }; |
| 90 | |
| 91 | void soar_init_callbacks(agent* the_agent) |
| 92 | { |
| 93 | int ct; // ct was originally of type SOAR_CALLBACK_TYPE, changed for c++ compatibility (5/1/02) |
| 94 | |
| 95 | for (ct = 1; ct < NUMBER_OF_CALLBACKS; ct++) |
| 96 | { |
| 97 | the_agent->soar_callbacks[ct] = NIL; |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | int callback_count(agent* the_agent, SOAR_CALLBACK_TYPE callback_type) |
| 102 | { |