Skip to content
Open
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 libxo/xo.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
#ifndef INCLUDE_XO_H
#define INCLUDE_XO_H

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

#include <stdio.h>
#include <sys/types.h>
#include <stdarg.h>
Expand Down Expand Up @@ -736,4 +740,8 @@ xo_map_add_file (xo_handle_t *xop, const char *fname);
int
xo_filter_add (xo_handle_t *xop, const char *vp);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* INCLUDE_XO_H */
8 changes: 8 additions & 0 deletions libxo/xo_encoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
#ifndef XO_ENCODER_H
#define XO_ENCODER_H

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

#include <string.h>

#include "xo_private.h"
Expand Down Expand Up @@ -208,4 +212,8 @@ xo_whiteboard_op_name (xo_whiteboard_op_t op);
void
xo_failure (xo_handle_t *xop, const char *fmt, ...);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* XO_ENCODER_H */