summaryrefslogtreecommitdiff
path: root/eg/underscore.h
diff options
context:
space:
mode:
authorbehdad <behdad>2004-05-03 05:17:48 +0000
committerbehdad <behdad>2004-05-03 05:17:48 +0000
commit577ed4095383ef5284225d45709e6b5f0598a064 (patch)
tree6c7d0ce55124a688b4d7050e684d9d7a1e3aa71d /eg/underscore.h
downloadc2man-577ed4095383ef5284225d45709e6b5f0598a064.tar.gz
Initial revisionHEADoriginmaster
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[]));