root/include/callfunc.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef CALLFUNC_H
   2 #define CALLFUNC_H
   3 /*
   4  call C function with argument list created at runtime.
   5  See lib/armutil/callfunc.S for documentation
   6 */
   7 // Note: used in modules and platform independent code. 
   8 // Do not add platform dependent stuff in here (#ifdef/#endif compile options or camera dependent values)
   9 
  10 // 'long_call' attribute required to ensure correct calling from thumb code
  11 // GCC 4.7.3 on OS/X does not generate thumb-interwork for this function ????
  12 unsigned __attribute__((long_call)) call_func_ptr(void *func, const unsigned *args, unsigned n_args);
  13 
  14 #endif // CALLFUNC_H

/* [<][>][^][v][top][bottom][index][help] */