#ifndef CALCULATOR_H #define CALCULATOR_H typedef enum { CALC_OK = 0, CALC_ERR } calc_status_t; /* - vyhodnoti vyraz */ /* - expr: vstup */ /* - out: vysledok */ calc_status_t calc_evaluate(const char *expr, double *out); /* - text chyby */ const char *calc_error(void); #endif