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

wslay_event_set_error - Set error code

Author

       Tatsuhiro Tsujikawa

Description

wslay_event_set_error()  sets  error  code  to  tell  the  library  there  is an error.  This function is
       typically used in user defined callback functions.  See the description  of  callback  function  to  know
       which error code should be used.

Name

       wslay_event_set_error - Set error code

Return Value

wslay_event_set_error() does not return value.

Synopsis

       #include <wslay/wslay.h>

       voidwslay_event_set_error(wslay_event_context_ptrctx,intval)

See Also