#pragma once typedef uint16_t ZigErrorCode; typedef struct ZigString { const unsigned char *ptr; size_t len; } ZigString; typedef struct ZigErrorType { ZigErrorCode code; void *ptr; } ZigErrorType; typedef union ErrorableZigStringResult { ZigString value; ZigErrorType err; } ErrorableZigStringResult; typedef struct ErrorableZigString { ErrorableZigStringResult result; bool success; } ErrorableZigString; typedef struct ResolvedSource { ZigString specifier; ZigString source_code; ZigString source_url; uint32_t hash; void *allocator; uint64_t bytecodecache_fd; } ResolvedSource; typedef union ErrorableResolvedSourceResult { ResolvedSource value; ZigErrorType err; } ErrorableResolvedSourceResult; typedef struct ErrorableResolvedSource { ErrorableResolvedSourceResult result; bool success; } ErrorableResolvedSource; typedef uint8_t ZigStackFrameCode; const ZigStackFrameCode ZigStackFrameCodeNone = 0; const ZigStackFrameCode ZigStackFrameCodeEval = 1; const ZigStackFrameCode ZigStackFrameCodeModule = 2; const ZigStackFrameCode ZigStackFrameCodeFunction = 3; const ZigStackFrameCode ZigStackFrameCodeGlobal = 4; const ZigStackFrameCode ZigStackFrameCodeWasm = 5; const ZigStackFrameCode ZigStackFrameCodeConstructor = 6; typedef struct ZigStackFramePosition { int32_t source_offset; int32_t line; int32_t line_start; int32_t line_stop; int32_t column_start; int32_t column_stop; int32_t expression_start; int32_t expression_stop; } ZigStackFramePosition; typedef struct ZigStackFrame { ZigString function_name; ZigString source_url; ZigStackFramePosition position; ZigStackFrameCode code_type; } ZigStackFrame; typedef struct ZigStackTrace { ZigString *source_lines_ptr; int32_t *source_lines_numbers; uint8_t source_lines_len; uint8_t source_lines_to_collect; ZigStackFrame *frames_ptr; uint8_t frames_len; } ZigStackTrace; typedef struct ZigException { unsigned char code; uint16_t runtime_type; ZigString name; ZigString message; ZigStackTrace stack; void *exception; } ZigException; typedef uint8_t JSErrorCode; const JSErrorCode JSErrorCodeError = 0; const JSErrorCode JSErrorCodeEvalError = 1; const JSErrorCode JSErrorCodeRangeError = 2; const JSErrorCode JSErrorCodeReferenceError = 3; const JSErrorCode JSErrorCodeSyntaxError = 4; const JSErrorCode JSErrorCodeTypeError = 5; const JSErrorCode JSErrorCodeURIError = 6; const JSErrorCode JSErrorCodeAggregateError = 7; const JSErrorCode JSErrorCodeOutOfMemoryError = 8; const JSErrorCode JSErrorCodeStackOverflow = 253; const JSErrorCode JSErrorCodeUserErrorCode = 254; #ifdef __cplusplus extern "C" ZigErrorCode Zig_ErrorCodeParserError; extern "C" void ZigString__free(const unsigned char *ptr, size_t len, void *allocator); extern "C" void Microtask__run(void *ptr, void *global); #endif et/internal?id=12ff562d31fc5ab53c74aacb6ab2cd26444ed978&follow=1'>internal/socket/defs_netbsd.go (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2018-02-04Move template functions outside engine (refactoring)Gravatar Frédéric Guillot 9-214/+254
2018-02-04Take timezone into consideration when calculating relative timeGravatar Frédéric Guillot 16-58/+91
2018-02-03Add support for HTTP Strict Transport Security headerGravatar Frédéric Guillot 4-3/+33
2018-02-03Add support for base URLs with subfoldersGravatar Frédéric Guillot 10-23/+105
2018-02-01Update German translationGravatar stratmaster 2-4/+12
2018-01-31Add missing about menu in settingsGravatar Frédéric Guillot 5-5/+29
2018-01-31Show API URL endpoints in user interfaceGravatar Frédéric Guillot 11-14/+99
2018-01-29Do not update entry date while refreshing a feedGravatar Frédéric Guillot 1-4/+5
2018-01-29Enable debug mode for integration testsGravatar Frédéric Guillot 1-1/+1
2018-01-29Add the possiblity to enable debug mode with an environment variableGravatar Frédéric Guillot 2-1/+6
2018-01-29Keep code base tidyGravatar Frédéric Guillot 5-18/+16
2018-01-29Add flag to enable debug loggingGravatar Rogier Lommers 2-7/+64
2018-01-25Improve unread counter updatesGravatar Mahendra Kalkura 1-6/+35