Re: [cc65] function pointer to __fastcall__ function

From: Greg King <greg.king41verizon.net>
Date: 2012-02-21 11:41:40
From: "Ullrich von Bassewitz"; on Sat, Feb 18, 2012; at 09:20 AM -0500
>
> Greg is right. You need to change the declaration of the pointer:
>
>    void (__fastcall__ *load_func)(uint8_t, char **);

"fastcall" qualifies the function, not the pointer.  So, shouldn't it be
placed outside the parentheses?

   void __fastcall__ (*load_func)(uint8_t, char **);

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Feb 21 11:45:42 2012

This archive was generated by hypermail 2.1.8 : 2012-02-21 11:45:47 CET