Skip to content

Commit e8bec25

Browse files
committed
Add comment for when external API are defined
1 parent 9496821 commit e8bec25

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

src/commands.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ static const struct LacoCommand line_commands[] = {
3737
{ NULL, NULL }
3838
};
3939

40+
/* External API */
41+
4042
void laco_dispatch(const struct LacoCommand* commands,
4143
struct LacoState* laco, const char* command_keyword,
4244
const char** arguments) {

src/util/line.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ static bool pushline(LacoState* laco, bool isFirstLine) {
112112
return result;
113113
}
114114

115+
/* External API */
116+
115117
bool laco_load_line(LacoState* laco) {
116118
int status = laco_get_laco_status(laco);
117119
lua_State* L = laco_get_laco_lua_state(laco);

src/util/print.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ static void print_table(lua_State* L) {
7777
lua_pop(L, 1);
7878
}
7979

80-
/* External API*/
80+
/* External API */
8181

8282
int laco_print_type(LacoState* laco) {
8383
lua_State* L = laco_get_laco_lua_state(laco);

0 commit comments

Comments
 (0)