digitalmars.D.learn - C-style function pointers
- Aaron P (6/6) Nov 11 2011 This is a little advanced for me, but I'd rather fix that one line in a
- =?ISO-8859-1?Q?Alex_R=F8nne_Petersen?= (4/10) Nov 11 2011 See "Delegates, Function Pointers, and Closures" at
This is a little advanced for me, but I'd rather fix that one line in a library somewhere than compile with -d. I get an error message "C-style function pointer and pointer to array syntax is deprecated. Use 'function' to declare function pointers." Can someone explain how this keyword is used? Given its name, it's understandably difficult to search for. :/
Nov 11 2011
On 11-11-2011 11:54, Aaron P wrote:This is a little advanced for me, but I'd rather fix that one line in a library somewhere than compile with -d. I get an error message "C-style function pointer and pointer to array syntax is deprecated. Use 'function' to declare function pointers." Can someone explain how this keyword is used? Given its name, it's understandably difficult to search for. :/See "Delegates, Function Pointers, and Closures" at http://www.d-programming-language.org/function.html. - Alex
Nov 11 2011