Sha256: 27bacf964852836f40f732eabd961c6c7dec58a2dcd9c33ebcd1c08cdad7d01c
Contents?: true
Size: 639 Bytes
Versions: 1
Compression:
Stored size: 639 Bytes
Contents
#ifndef YARP_DIAGNOSTIC_H #define YARP_DIAGNOSTIC_H #include "yarp/defines.h" #include "yarp/util/yp_list.h" #include <stdbool.h> #include <stdlib.h> // This struct represents a diagnostic found during parsing. typedef struct { yp_list_node_t node; const uint8_t *start; const uint8_t *end; const char *message; } yp_diagnostic_t; // Append a diagnostic to the given list of diagnostics. bool yp_diagnostic_list_append(yp_list_t *list, const uint8_t *start, const uint8_t *end, const char *message); // Deallocate the internal state of the given diagnostic list. void yp_diagnostic_list_free(yp_list_t *list); #endif
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yarp-0.10.0 | include/yarp/diagnostic.h |