-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use
pragma once
instead of include guard
, it's been
widely supported by almost all compilers. ref: https://www.wikiwand.com/en/Pragma_once
- Loading branch information
1 parent
9a67fc5
commit 2d7f43e
Showing
3 changed files
with
6 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
#ifndef CODE_H | ||
#define CODE_H | ||
#pragma once | ||
|
||
void utf_char_to_code(char *str, unsigned long long *ret_code, int *ret_byte_length); | ||
void string_to_codes(char *str, int length, unsigned long long **ret_codes, int *ret_length); | ||
|
||
#endif | ||
void string_to_codes(char *str, int length, unsigned long long **ret_codes, int *ret_length); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters