|
Mathematic Expressions Library
0.1
The core math data structures and manipulators
|
#include <stdio.h>#include <stddef.h>#include <stdlib.h>#include "errors.h"#include "expression.h"#include "types.h"
Functions | |
| value_t | value_new_type (enum value_types type) |
| value_t | value_new_lint (sys_int_long lint) |
| value_t | string_to_value (size_t src_str_len, char const *src_str) |
| Create value from a string. More... | |
| void | value_to_string (char *dst_str, value_t src_val) |
| pindex_t | find_matching (size_t str_len, const char *str, pindex_t start) |
| Find the index of the matching closing paren in a string. More... | |
Contains standard types, macros, and functions used throughout the library. Most notably, this is the home of the value_t.
Find the index of the matching closing paren in a string.
| str_len | Overall string length. |
| str | String to search in. |
| start | Index of the open paren to match. |
| value_t string_to_value | ( | size_t | src_str_len, |
| char const * | src_str | ||
| ) |
Create value from a string.
| src_str_len | The length of the actual buffer (not the number size). |
| src_str | The source string. |
<
<

| value_t value_new_lint | ( | sys_int_long | lint | ) |
| value_t value_new_type | ( | enum value_types | type | ) |