mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-03 01:38:30 +00:00
Add help dialog to Blinkenlights emulator
This commit is contained in:
parent
02b4a5c824
commit
5f1415af3a
9 changed files with 248 additions and 147 deletions
18
tool/build/lib/lines.h
Normal file
18
tool/build/lib/lines.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
#ifndef COSMOPOLITAN_TOOL_BUILD_LIB_LINES_H_
|
||||
#define COSMOPOLITAN_TOOL_BUILD_LIB_LINES_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
struct Lines {
|
||||
size_t n;
|
||||
char **p;
|
||||
};
|
||||
|
||||
struct Lines *NewLines(void);
|
||||
void FreeLines(struct Lines *);
|
||||
void AppendLine(struct Lines *, const char *, size_t);
|
||||
void AppendLines(struct Lines *, const char *);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_TOOL_BUILD_LIB_LINES_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue