forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCoder.h
More file actions
32 lines (21 loc) · 954 Bytes
/
Copy pathCoder.h
File metadata and controls
32 lines (21 loc) · 954 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef __CODER__
#define __CODER__
typedef struct Coder *CoderRef;
bool CoderStart(const char *p_filename, CoderRef& r_coder);
bool CoderFinish(CoderRef self);
void CoderCancel(CoderRef self);
void CoderWriteLine(CoderRef self, const char *p_format, ...);
void CoderWrite(CoderRef self, const char *p_format, ...);
void CoderWriteStatement(CoderRef self, const char *p_format, ...);
void CoderBeginStatement(CoderRef self);
void CoderEndStatement(CoderRef self);
void CoderBeginPreprocessor(CoderRef self, const char *p_format, ...);
void CoderEndPreprocessor(CoderRef self, const char *p_format, ...);
void CoderBegin(CoderRef self, const char *p_format, ...);
void CoderEndBegin(CoderRef self, const char *p_format, ...);
void CoderEnd(CoderRef self, const char *p_format, ...);
void CoderBeginIf(CoderRef self, const char *p_format, ...);
void CoderElse(CoderRef self);
void CoderEndIf(CoderRef self);
void CoderPad(CoderRef self);
#endif