aboutsummaryrefslogtreecommitdiffstats
path: root/graph.h
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-06-19 12:15:28 -0700
committerTectu <joel@unormal.org>2012-06-19 12:15:28 -0700
commitecf0fceb195395a51aa7eef07932da0174fcff86 (patch)
treeb1fd1683d81811e3a8ec2c52ba56913fb5dff0be /graph.h
parent6e76a59d10e6cd18c6de36c63c7ae967f94a35a0 (diff)
parent1f1f9ee38a6c2beb38285d550728d9661d0dc698 (diff)
downloaduGFX-ecf0fceb195395a51aa7eef07932da0174fcff86.tar.gz
uGFX-ecf0fceb195395a51aa7eef07932da0174fcff86.tar.bz2
uGFX-ecf0fceb195395a51aa7eef07932da0174fcff86.zip
Merge pull request #9 from trsaunders/master
C++ support, FSMC interface for SSD1289
Diffstat (limited to 'graph.h')
-rw-r--r--graph.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/graph.h b/graph.h
index 8e597d8d..eb03c3d5 100644
--- a/graph.h
+++ b/graph.h
@@ -1,6 +1,11 @@
#ifndef GRAPH_H
#define GRAPH_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
/*
* Description: does draw axis arrows and grid
*
@@ -39,4 +44,8 @@ void graphDrawDots(int16_t coord[][2], uint16_t entries, uint16_t radius, uint16
*/
void graphDrawNet(int16_t coord[][2], uint16_t entries, uint16_t radius, uint16_t lineColor, uint16_t dotColor);
+#ifdef __cplusplus
+}
+#endif
+
#endif