summaryrefslogtreecommitdiff
path: root/eg/underscore.h
diff options
context:
space:
mode:
Diffstat (limited to 'eg/underscore.h')
-rw-r--r--eg/underscore.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/eg/underscore.h b/eg/underscore.h
new file mode 100644
index 0000000..e57e6d5
--- /dev/null
+++ b/eg/underscore.h
@@ -0,0 +1,21 @@
+/* parameter names have underscores
+ * the underscores get removed in the documentation
+ */
+void underscore(
+ /* an int */
+ int __x,
+
+ /* a pointer to an int */
+ int *__y,
+
+ /* another pointer to an int, funnily enough */
+ int _z[],
+
+ /* a char, with a strange bit legal name */
+ char _,
+
+ /* an anonymous double */
+ double,
+
+ /* pointer to a function */
+ float (*__funcptr)(int *__a1, char __a2[]));