diff paper/sources/fastcall-example.c @ 10:3d9addf62d0b

organized repository.
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Tue, 16 Feb 2010 14:35:36 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/paper/sources/fastcall-example.c	Tue Feb 16 14:35:36 2010 +0900
@@ -0,0 +1,9 @@
+int fastfunc() __attribute__((fastcall));
+
+int fastfunc(int a, int b) {
+    /* do something.   */
+}
+
+void normalfunc() {
+    fastfunc(20, 30);
+}