Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions c/detools.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
#ifndef DETOOLS_H
#define DETOOLS_H

#ifdef __cplusplus
extern "C" {
#endif

/*
* Configuration.
*
Expand Down Expand Up @@ -629,4 +633,8 @@ int detools_apply_patch_in_place_filenames(const char *memory_p,
*/
const char *detools_error_as_string(int error);

#ifdef __cplusplus
}
#endif

#endif
8 changes: 8 additions & 0 deletions c/heatshrink/heatshrink_decoder.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#ifndef HEATSHRINK_DECODER_H
#define HEATSHRINK_DECODER_H

#ifdef __cplusplus
extern "C" {
#endif

#include <stdint.h>
#include <stddef.h>
#include "heatshrink_common.h"
Expand Down Expand Up @@ -97,4 +101,8 @@ HSD_poll_res heatshrink_decoder_poll(heatshrink_decoder *hsd,
* call heatshrink_decoder_poll and repeat. */
HSD_finish_res heatshrink_decoder_finish(heatshrink_decoder *hsd);

#ifdef __cplusplus
}
#endif

#endif
Loading