MCPcopy Create free account
hub / github.com/csound/csound / csoundQueryGlobalVariableNoCheck

Function csoundQueryGlobalVariableNoCheck

Engine/namedins.c:300–303  ·  view source on GitHub ↗

* This function is the same as csoundQueryGlobalVariable(), except the * variable is assumed to exist and no error checking is done. * Faster, but may crash or return an invalid pointer if 'name' is * not defined. */

Source from the content-addressed store, hash-verified

298 * not defined.
299 */
300PUBLIC void *csoundQueryGlobalVariableNoCheck(CSOUND *csound, const char *name)
301{
302 return cs_hash_table_get(csound, csound->namedGlobals, (char*) name);
303}
304
305/**
306 * Free memory allocated for "name" and remove "name" from the database.

Callers 3

Calls 1

cs_hash_table_getFunction · 0.85

Tested by

no test coverage detected