summaryrefslogtreecommitdiffstats
path: root/doc/manual/example5/function.h
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/example5/function.h')
-rw-r--r--doc/manual/example5/function.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/manual/example5/function.h b/doc/manual/example5/function.h
new file mode 100644
index 0000000..d845887
--- /dev/null
+++ b/doc/manual/example5/function.h
@@ -0,0 +1,8 @@
+typedef struct {
+ int redBits;
+ int greenBits;
+ int blueBits;
+} ScreenInfo;
+
+ScreenInfo* default_screen_depth();
+void set_screen_depth(ScreenInfo* info);