-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
lilian
committed
Aug 28, 2024
1 parent
272eb16
commit a07de06
Showing
30 changed files
with
10,018 additions
and
7,298 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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,17 +1,20 @@ | ||
//! \file cobs.h | ||
//! \author Thomas.Hoehenleitner [at] seerose.net | ||
|
||
|
||
#ifndef COBS_H_ | ||
#define COBS_H_ | ||
|
||
#include <stddef.h> //lint !e537 !e451 Warning 537: Repeated include file, Warning 451: Header file repeatedly included but does not have a standard | ||
#include <stdint.h> //lint !e537 !e451 Warning 537: Repeated include file, Warning 451: Header file repeatedly included but does not have a standard | ||
|
||
//! If your compiler uses a pre-C99 C dialect and does not know The "__restrict" keyword, you can define it in the project settings. | ||
size_t COBSEncode(void * __restrict out, const void * __restrict in, size_t length); | ||
//! If your compiler uses a pre-C99 C dialect and does not know The "__restrict" | ||
//! keyword, you can define it in the project settings. | ||
size_t COBSEncode(void *__restrict out, const void *__restrict in, | ||
size_t length); | ||
|
||
//! If your compiler uses a pre-C99 C dialect and does not know The "__restrict" keyword, you can define it in the project settings. | ||
size_t COBSDecode(void * __restrict out, const void * __restrict in, size_t length); | ||
//! If your compiler uses a pre-C99 C dialect and does not know The "__restrict" | ||
//! keyword, you can define it in the project settings. | ||
size_t COBSDecode(void *__restrict out, const void *__restrict in, | ||
size_t length); | ||
|
||
#endif |
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
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
Oops, something went wrong.