MCPcopy Create free account
hub / github.com/audacity/audacity / RegisterFunctions

Function RegisterFunctions

libraries/lib-nyquist-effects/NyquistBase.cpp:2972–2990  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2970}
2971
2972static void RegisterFunctions()
2973{
2974 // Add functions to XLisp. Do this only once,
2975 // before the first call to nyx_init.
2976 static bool firstTime = true;
2977 if (firstTime)
2978 {
2979 firstTime = false;
2980
2981 // All function names must be UP-CASED
2982 static const FUNDEF functions[] = {
2983 { "_", SUBR, gettext }, { "_C", SUBR, gettextc },
2984 { "NGETTEXT", SUBR, ngettext }, { "NGETTEXTC", SUBR, ngettextc },
2985 { "AUD-DO", SUBR, xlc_aud_do },
2986 };
2987
2988 xlbindfunctions(functions, WXSIZEOF(functions));
2989 }
2990}

Callers 1

ProcessMethod · 0.85

Calls 1

xlbindfunctionsFunction · 0.85

Tested by

no test coverage detected