int close_local_variables(void *ctx, int nof_vars) { int i; for (i=0;i<nof_vars;i++) { if (local_variables[i]) { if (oesr_var_close(ctx, local_variables[i])) { oesr_perror("oesr_var_close\n"); } } } return 0; }
void close_variables(void *ctx) { int i; moddebug("nof_vars=%d\n",nof_vars); for (i=0;i<nof_vars;i++) { if (vars[i]) { if (oesr_var_close(ctx, vars[i])) { oesr_perror("oesr_var_close\n"); } } } }