icetDestroyContext(3)

icetDestroyContext3

Usage

#include <IceT.h>

void icetDestroyContext(IceTContextcontext );

Overview

Frees the memory required to hold the state of context and removes context from existence.

Errors

None.

Warnings

None.

Notes

Behavior is undefined if context has never been created or has already been destroyed.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7–8
  3. 9–10
  4. 11–13

Bugs

icetDestroyContext will happily delete the current context for you, but subsequent calls to most other IceT functions will probably result in seg-faults unless you make another context current with icetCreateContext or icetSetContext. The most notable execptions are the functions with names matching icet*Context, which will work correctly without a proper current context.

From paraview 5.13.2+dfsg-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.