|
LMMS
|
#include "ysfx.hpp"#include "ysfx_api_eel.hpp"#include "ysfx_utils.hpp"#include <cstring>#include <cstdlib>#include <cstddef>#include "WDL/ptrlist.h"#include "WDL/assocarray.h"#include "WDL/mutex.h"#include "WDL/eel2/eel_strings.h"#include "WDL/eel2/eel_misc.h"#include "WDL/eel2/eel_fft.h"#include "WDL/eel2/eel_mdct.h"#include "WDL/eel2/eel_atomic.h"Macros | |
| #define | EEL_STRING_STDOUT_WRITE(x, len) |
| #define | EEL_STRING_MAXUSERSTRING_LENGTH_HINT ysfx_string_max_length |
| #define | EEL_ATOMIC_SET_SCOPE(opaque) |
| #define | EEL_ATOMIC_ENTER mutex->lock() |
| #define | EEL_ATOMIC_LEAVE mutex->unlock() |
Functions | |
| void | ysfx_api_init_eel () |
| void | ysfx_eel_string_initvm (NSEEL_VMCTX vm) |
| eel_string_context_state * | ysfx_eel_string_context_new () |
| void | ysfx_eel_string_context_free (eel_string_context_state *state) |
| void | ysfx_eel_string_context_update_named_vars (eel_string_context_state *state, NSEEL_VMCTX vm) |
| bool | ysfx_string_access (ysfx_t *fx, ysfx_real id, bool for_write, void(*access)(void *, WDL_FastString &), void *userdata) |
| bool | ysfx_string_get (ysfx_t *fx, ysfx_real id, std::string &txt) |
| bool | ysfx_string_set (ysfx_t *fx, ysfx_real id, const std::string &txt) |
| void | ysfx_string_lock (ysfx_t *fx) |
| void | ysfx_string_unlock (ysfx_t *fx) |
| const char * | ysfx_string_access_unlocked (ysfx_t *fx, ysfx_real id, WDL_FastString **fs, bool for_write) |
| void | NSEEL_HOSTSTUB_EnterMutex () |
| void | NSEEL_HOSTSTUB_LeaveMutex () |
Variables | |
| static ysfx::mutex | atomic_mutex |
| #define EEL_ATOMIC_ENTER mutex->lock() |
| #define EEL_ATOMIC_LEAVE mutex->unlock() |
| #define EEL_ATOMIC_SET_SCOPE | ( | opaque | ) |
| #define EEL_STRING_MAXUSERSTRING_LENGTH_HINT ysfx_string_max_length |
| #define EEL_STRING_STDOUT_WRITE | ( | x, | |
| len ) |
| void NSEEL_HOSTSTUB_EnterMutex | ( | ) |
| void NSEEL_HOSTSTUB_LeaveMutex | ( | ) |
| void ysfx_api_init_eel | ( | ) |
| void ysfx_eel_string_context_free | ( | eel_string_context_state * | state | ) |
| eel_string_context_state * ysfx_eel_string_context_new | ( | ) |
| void ysfx_eel_string_context_update_named_vars | ( | eel_string_context_state * | state, |
| NSEEL_VMCTX | vm ) |
| void ysfx_eel_string_initvm | ( | NSEEL_VMCTX | vm | ) |
| bool ysfx_string_access | ( | ysfx_t * | fx, |
| ysfx_real | id, | ||
| bool | for_write, | ||
| void(* | access )(void *, WDL_FastString &), | ||
| void * | userdata ) |
| const char * ysfx_string_access_unlocked | ( | ysfx_t * | fx, |
| ysfx_real | id, | ||
| WDL_FastString ** | fs, | ||
| bool | for_write ) |
|
static |