* 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. */
| 298 | * not defined. |
| 299 | */ |
| 300 | PUBLIC 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. |
no test coverage detected