Skip to content

Commit 2b75e5e

Browse files
committed
Fix some typos in the documentation
1 parent 0a79542 commit 2b75e5e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/laco.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ typedef struct LacoState LacoState;
1212
LacoState* laco_new_laco_state(int argc, const char** argv);
1313

1414
/**
15-
* Cleans up all allocted data internally along with the pointer to laco
15+
* Cleans up all allocated data internally along with the pointer to laco
1616
* state. If the pointer isn't NULL, the function returns 1.
1717
*/
1818
int laco_destroy_laco_state(LacoState* laco);
@@ -24,7 +24,7 @@ struct lua_State* laco_get_laco_lua_state(LacoState* laco);
2424

2525
/**
2626
* Gets the laco version held with laco. The format for the version is
27-
* `major.minor.patch`, essentually semver format.
27+
* `major.minor.patch`, essentially semver format.
2828
*/
2929
const char* laco_get_laco_version(LacoState* laco);
3030

src/util.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ struct LacoState;
1010
int laco_load_line(struct LacoState* laco);
1111

1212
/**
13-
* Called after laco_load_line, this will evalute the line as a function and
14-
* hands off the result for printing.
13+
* Called after laco_load_line, this will evaluate the line as a function
14+
* and hands off the result for printing.
1515
*/
1616
void laco_handle_line(struct LacoState* laco);
1717

@@ -22,7 +22,7 @@ void laco_kill(struct LacoState* laco, int status, const char* message);
2222

2323
/**
2424
* When there is a value on the lua stack, this will print out the current
25-
* type it is. When an error accures, laco_print_type will return
25+
* type it is. When an error acquires, laco_print_type will return
2626
* LUA_ERRSYNTAX.
2727
*/
2828
int laco_print_type(struct LacoState* laco);

0 commit comments

Comments
 (0)