Skip to content

Commit d959397

Browse files
committed
Add documentation for new public functions
1 parent 25b833c commit d959397

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/commands/debugger.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
struct LacoState;
55

6+
/**
7+
* Prints out debug info of a give function name.
8+
*/
69
void laco_print_debug_info(struct LacoState* laco,
710
const char* function_name);
811

src/util.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ void laco_report_error(struct LacoState* laco, int status);
3838
*/
3939
int laco_is_match(const char** matches, const char* test_string);
4040

41+
/**
42+
* Takes a line, seperated by spaces, and changes it into an array of the
43+
* words that make up the line. The last value of this array will be NULL.
44+
*/
4145
char** laco_line_to_words(char* line);
4246

4347
#endif /* LACO_UTIL_H */

0 commit comments

Comments
 (0)