Make some functions public.
This commit is contained in:
@@ -216,6 +216,14 @@ void libab_get_true_value(libab* ab, libab_ref* into);
|
||||
* @param into the reference into which to store the false value.
|
||||
*/
|
||||
void libab_get_false_value(libab* ab, libab_ref* into);
|
||||
/**
|
||||
* Get the boolean value corresponding to val from this
|
||||
* libab instance.
|
||||
* @param ab the instance to get the value from.
|
||||
* @param val the true or false value to represent.
|
||||
* @param into the reference into which to store the value.
|
||||
*/
|
||||
void libab_get_bool_value(libab* ab, int val, libab_ref* into);
|
||||
|
||||
/**
|
||||
* Executes the given string of code.
|
||||
|
||||
@@ -178,5 +178,12 @@ void* libab_unwrap_value(libab_ref* ref);
|
||||
* @return the value at the given index.
|
||||
*/
|
||||
void* libab_unwrap_param(libab_ref_vec* vec, size_t index);
|
||||
/**
|
||||
* Sanitizes a string to avoid liblex compilation errors.
|
||||
* @param to the buffer to store the sanitized string to.
|
||||
* @param from the string to sanitize.
|
||||
* @param buffer_size the size of the to buffer.
|
||||
*/
|
||||
void libab_sanitize(char* to, const char* from, size_t buffer_size);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user