ecl_bds_unwind — Undo one variable binding


ecl_bds_unwind1( cl_env_ptr cl_env);

ecl_bds_unwind_n( cl_env_ptr cl_env, int n);


ecl_bds_unwind1 undoes the outermost variable binding, restoring the original value of the symbol in the process.

ecl_bds_unwind_n does the same, but for the n last variables.

Every variable binding must undone when no longer needed. It is best practice to match each call to ecl_bds_bind by another call to ecl_bds_unwind in the same function.