We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c6e961 commit e1ccf7dCopy full SHA for e1ccf7d
src/util.h
@@ -44,4 +44,8 @@ int laco_is_match(const char** matches, const char* test_string);
44
*/
45
char** laco_split_by(const char* split_with, char* string);
46
47
+/* Macro for splitting with spaces */
48
+#define laco_line_to_words(line) \
49
+ laco_split_by(" ", line)
50
+
51
#endif /* LACO_UTIL_H */
0 commit comments