Skip to content

Commit

Permalink
Merge pull request #37 from KaruroChori/patch-1
Browse files Browse the repository at this point in the history
Update canfigger.h for C++ compatibility
  • Loading branch information
andy5995 authored Jan 6, 2025
2 parents 93ed789 + 203596e commit 73d15a3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions canfigger.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ SOFTWARE.

#pragma once

#ifdef __cplusplus
extern "C" {
#endif

/**
* \example example.c
*/
Expand Down Expand Up @@ -96,3 +100,7 @@ void canfigger_free_current_key_node_advance(struct Canfigger **list);
* @param attr Current attribute that will get reassigned after the function call.
*/
void canfigger_free_current_attr_str_advance(struct attributes *attributes, char **attr);

#ifdef __cplusplus
}
#endif

0 comments on commit 73d15a3

Please sign in to comment.