summaryrefslogtreecommitdiff
path: root/inline.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-08-16 21:54:53 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-08-21 16:38:34 -0700
commit25468daabce05c6c76ace4055995f92d166fc9ff (patch)
tree492a436f026b4d88551d5f1ed19e88dab1cbb7b2 /inline.h
parent3e8f87004884b2cadf2a57b6e12ef9a977913e0e (diff)
downloadperl-25468daabce05c6c76ace4055995f92d166fc9ff.tar.gz
[perl #113718] Add inline.h
We can put static inline functions here, and they can depend on function prototypes and struct definitions from other header files.
Diffstat (limited to 'inline.h')
-rw-r--r--inline.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/inline.h b/inline.h
new file mode 100644
index 0000000000..608f6c4b2a
--- /dev/null
+++ b/inline.h
@@ -0,0 +1,13 @@
+/* inline.h
+ *
+ * Copyright (C) 2012 by Larry Wall and others
+ *
+ * You may distribute under the terms of either the GNU General Public
+ * License or the Artistic License, as specified in the README file.
+ *
+ * This file is a home for static inline functions that cannot go in other
+ * headers files, because they depend on proto.h (included after most other
+ * headers) or struct definitions.
+ *
+ * Each section names the header file that the functions "belong" to.
+ */