logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

icetSetContext -- changes the current context.

Bugs

       None known.

Description

       The  icetSetContext  function sets the IceT state machine to work with the context defined by context and
       the state associated with  it.  Further  calls  to  IceT  functions  will  operate  based  on  the  state
       encapsulated in context.  Changing the state of the context is a fast operation.

Errors

ICET_INVALID_VALUEcontext is not valid.

Name

icetSetContext--changesthecurrentcontext.

Notes

       The  behavior  of  icetSetContext  is  somewhat  indeterminate  if  context  is  not  valid.  Usually, an
       ICET_INVALID_VALUE error will be raised, but it is possible that the context will be set  to  some  other
       context.

See Also

icetGetContext(3), icetCreateContext(3), icetCopyState(3)

IceT Reference                                   August  9, 2010                               icetSetContext(3)

Synopsis

       #include <IceT.h>

       void icetSetContext(   IceTContextcontext  );

Warnings

       None.

See Also