Page MenuHomePhorge

emit.h
No OneTemporary

Size
431 B
Referenced Files
None
Subscribers
None
#ifndef HIGHLIGHT_EMIT_H
#define HIGHLIGHT_EMIT_H
#include <stdbool.h>
#include <stddef.h>
#include "highlight.h"
typedef struct {
char *buf;
size_t size;
size_t pos;
bool overflow;
} hl_outbuf;
void hl_outbuf_init(hl_outbuf *o, char *buf, size_t size);
void hl_outbuf_write_escaped(hl_outbuf *o, const char *s, size_t n);
void hl_outbuf_emit_span(hl_outbuf *o, hl_token_class cls, const char *s, size_t n);
#endif

File Metadata

Mime Type
text/x-c
Expires
Sat, Apr 4, 1:31 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
521859
Default Alt Text
emit.h (431 B)

Event Timeline