Skip to content

Commit

Permalink
Refactor sources for C++ and GTest compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
dr8co committed Apr 6, 2024
1 parent 56a2a9e commit 1ef6f53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lite_str.c
Original file line number Diff line number Diff line change
Expand Up @@ -967,4 +967,4 @@ bool string_shrink_to_fit(lite_string *const restrict s) {
}
}
return false;
}
}
1 change: 1 addition & 0 deletions lite_str.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once
#if __cplusplus
#define restrict
extern "C" {
#endif

Expand Down

0 comments on commit 1ef6f53

Please sign in to comment.