view sources/fastcall-example.c @ 7:8ef81ff8cb52

emended.
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Fri, 12 Feb 2010 13:10:57 +0900
parents 50e23a4b2f40
children
line wrap: on
line source

int fastfunc() __attribute__((fastcall));

int fastfunc(int a, int b) {
    /* do something.   */
}

void normalfunc() {
    fastfunc(20, 30);
}