Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Commit

Permalink
Add C++ guards
Browse files Browse the repository at this point in the history
Added C++ Guards to solve Issue mauke#35 from upstream
  • Loading branch information
code2828 authored Sep 25, 2020
1 parent e3b16d6 commit 51e74df
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions unibilium.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ along with unibilium. If not, see <http://www.gnu.org/licenses/>.
*/

/* C++ */
#ifdef __cplusplus
extern "C" {
#endif

#include <stdio.h>

enum unibi_boolean {
Expand Down Expand Up @@ -627,4 +632,8 @@ void unibi_format(

size_t unibi_run(const char *, unibi_var_t [9], char *, size_t);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* GUARD_UNIBILIUM_H_ */

0 comments on commit 51e74df

Please sign in to comment.