Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F3094749
emit.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
431 B
Referenced Files
None
Subscribers
None
emit.h
View Options
#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
Details
Attached
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)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment