summaryrefslogtreecommitdiffstats
path: root/doc/manual/example5/function.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/example5/function.cfg')
-rw-r--r--doc/manual/example5/function.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/manual/example5/function.cfg b/doc/manual/example5/function.cfg
index cb158ca..35af56f 100644
--- a/doc/manual/example5/function.cfg
+++ b/doc/manual/example5/function.cfg
@@ -7,3 +7,6 @@ NativeOutputDir gensrc/native
# Tell GlueGen that default_screen_depth() returns a pointer to a
# single ScreenInfo
ReturnValueCapacity default_screen_depth sizeof(ScreenInfo)
+
+# Include the function.h header in the generated glue code
+CustomCCode #include "function.h"