OrcExecutor

## OrcExecutor OrcExecutor — Running Orc programs |

## Synopsis

    struct              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);

## Description

## Details

### struct OrcExecutor

    struct OrcExecutor {
    };

### orc_executor_new ()

    OrcExecutor *       orc_executor_new                    (OrcProgram *program);

### orc_executor_free ()

    void                orc_executor_free                   (OrcExecutor *ex);

### orc_executor_set_array ()

    void                orc_executor_set_array              (OrcExecutor *ex,
                                                             int var,
                                                             void *ptr);

### orc_executor_set_array_str ()

    void                orc_executor_set_array_str          (OrcExecutor *ex,
                                                             const char *name,
                                                             void *ptr);

### orc_executor_set_n ()

    void                orc_executor_set_n                  (OrcExecutor *ex,
                                                             int n);

### orc_executor_emulate ()

    void                orc_executor_emulate                (OrcExecutor *ex);

### orc_executor_run ()

    void                orc_executor_run                    (OrcExecutor *ex);

### orc_executor_get_accumulator ()

    int                 orc_executor_get_accumulator        (OrcExecutor *ex,
                                                             int var);

### orc_executor_get_accumulator_str ()

    int                 orc_executor_get_accumulator_str    (OrcExecutor *ex,
                                                             const char *name);

### orc_executor_set_param ()

    void                orc_executor_set_param              (OrcExecutor *ex,
                                                             int var,
                                                             int value);

### orc_executor_set_param_str ()

    void                orc_executor_set_param_str          (OrcExecutor *ex,
                                                             const char *name,
                                                             int value);

### orc_executor_set_program ()

    void                orc_executor_set_program            (OrcExecutor *ex,
                                                             OrcProgram *program);