summaryrefslogtreecommitdiff
path: root/include/ouroboros/cdefs.h
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-04-13 10:18:08 +0000
committerSander Vrijders <sander.vrijders@ugent.be>2017-04-13 10:18:08 +0000
commitdf141f1ccff7edac4873845855d605ef70057fae (patch)
treefb86f87679dda03cc53e06d9b0c6d3ee0ef26751 /include/ouroboros/cdefs.h
parent72c28d6173ade511e9dc6969e0fc66db2dbba38a (diff)
parent21187cdf04f6b6697064430aac68dcf795923943 (diff)
downloadouroboros-df141f1ccff7edac4873845855d605ef70057fae.tar.gz
ouroboros-df141f1ccff7edac4873845855d605ef70057fae.zip
Merged in dstaesse/ouroboros/be-ap_init (pull request #480)
include, lib: Rename ap_init/ap_fini
Diffstat (limited to 'include/ouroboros/cdefs.h')
-rw-r--r--include/ouroboros/cdefs.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/include/ouroboros/cdefs.h b/include/ouroboros/cdefs.h
new file mode 100644
index 00000000..da7c4732
--- /dev/null
+++ b/include/ouroboros/cdefs.h
@@ -0,0 +1,35 @@
+/*
+ * Ouroboros - Copyright (C) 2016 - 2017
+ *
+ * C Definitions
+ *
+ * Dimitri Staessens <dimitri.staessens@ugent.be>
+ * Sander Vrijders <sander.vrijders@ugent.be>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+
+#ifndef OUROBOROS_CDEFS_H
+#define OUROBOROS_CDEFS_H
+
+#ifdef __cplusplus
+# define __BEGIN_DECLS extern "C" {
+# define __END_DECLS }
+#else
+# define __BEGIN_DECLS
+# define __END_DECLS
+#endif
+
+#endif /* OUROBOROS_CDEFS_H */