Skip to content

Commit

Permalink
Adding a simple definition for LUAI_FUNC (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
sqmedeiros committed Jan 25, 2023
1 parent f3745e2 commit e25eb35
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lpltypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ typedef struct Charset {
#define testchar(st,c) (((int)(st)[((c) >> 3)] & (1 << ((c) & 7))))

/* labeled failure begin */
#if !defined(LUAI_FUNC)
#define LUAI_FUNC extern
#endif

#define LFAIL 0

/* update the farthest failure */
Expand Down

0 comments on commit e25eb35

Please sign in to comment.