![]() |
![]() |
![]() |
Orc Reference Manual | ![]() |
---|---|---|---|---|
OrcExecutor; OrcExecutor* orc_executor_new (OrcProgram *program); void orc_executor_free (OrcExecutor *ex); void orc_executor_set_array (OrcExecutor *ex, int var, void *ptr); void orc_executor_set_array_str (OrcExecutor *ex, const char *name, void *ptr); void orc_executor_set_n (OrcExecutor *ex, int n); void orc_executor_emulate (OrcExecutor *ex); void orc_executor_run (OrcExecutor *ex); int orc_executor_get_accumulator (OrcExecutor *ex, int var); int orc_executor_get_accumulator_str (OrcExecutor *ex, const char *name); void orc_executor_set_param (OrcExecutor *ex, int var, int value); void orc_executor_set_param_str (OrcExecutor *ex, const char *name, int value); void orc_executor_set_program (OrcExecutor *ex, OrcProgram *program);
void orc_executor_set_array (OrcExecutor *ex, int var, void *ptr);
|
|
|
|
|
void orc_executor_set_array_str (OrcExecutor *ex, const char *name, void *ptr);
|
|
|
|
|
int orc_executor_get_accumulator (OrcExecutor *ex, int var);
|
|
|
|
Returns : |
int orc_executor_get_accumulator_str (OrcExecutor *ex, const char *name);
|
|
|
|
Returns : |
void orc_executor_set_param (OrcExecutor *ex, int var, int value);
|
|
|
|
|
void orc_executor_set_param_str (OrcExecutor *ex, const char *name, int value);
|
|
|
|
|
void orc_executor_set_program (OrcExecutor *ex, OrcProgram *program);
|
|
|