Exemple #1
0
void vcedit_clear(vcedit_state *state)
{
	if(state)
	{
		vcedit_clear_internals(state);
		free(state);
	}
}
void
vcedit_state_unref (vcedit_state *s)
{
	if (--s->refcount)
		return;

	if (s->opened)
		vcedit_clear_internals (s);

	vcedit_state_free (s);
}