WPILibC++ 2027.0.0-alpha-3
Loading...
Searching...
No Matches
status.h File Reference
#include <stdarg.h>
#include "upb/port/def.inc"
#include "upb/port/undef.inc"

Go to the source code of this file.

Classes

struct  upb_Status
 

Macros

#define _kUpb_Status_MaxMessage   511
 

Functions

UPB_API const char * upb_Status_ErrorMessage (const upb_Status *status)
 
UPB_API bool upb_Status_IsOk (const upb_Status *status)
 
UPB_API void upb_Status_Clear (upb_Status *status)
 
void upb_Status_SetErrorMessage (upb_Status *status, const char *msg)
 
void upb_Status_SetErrorFormat (upb_Status *status, const char *fmt,...) UPB_PRINTF(2
 
void void upb_Status_VSetErrorFormat (upb_Status *status, const char *fmt, va_list args) UPB_PRINTF(2
 
void void void upb_Status_VAppendErrorFormat (upb_Status *status, const char *fmt, va_list args) UPB_PRINTF(2
 

Macro Definition Documentation

◆ _kUpb_Status_MaxMessage

#define _kUpb_Status_MaxMessage   511

Function Documentation

◆ upb_Status_Clear()

UPB_API void upb_Status_Clear ( upb_Status * status)

◆ upb_Status_ErrorMessage()

UPB_API const char * upb_Status_ErrorMessage ( const upb_Status * status)

◆ upb_Status_IsOk()

UPB_API bool upb_Status_IsOk ( const upb_Status * status)

◆ upb_Status_SetErrorFormat()

void upb_Status_SetErrorFormat ( upb_Status * status,
const char * fmt,
... )

◆ upb_Status_SetErrorMessage()

void upb_Status_SetErrorMessage ( upb_Status * status,
const char * msg )

◆ upb_Status_VAppendErrorFormat()

void void void upb_Status_VAppendErrorFormat ( upb_Status * status,
const char * fmt,
va_list args )

◆ upb_Status_VSetErrorFormat()

void void upb_Status_VSetErrorFormat ( upb_Status * status,
const char * fmt,
va_list args )