On Sonntag 26 Juli 2009, Ullrich von Bassewitz wrote: > Hi! > > On Sat, Jul 25, 2009 at 06:45:06PM +0200, Markus Stehr wrote: > > Could this be put on the todo list please? It would be a nice feature to > > have. I mean something like this: > > void putbigchar(char x, char y, char c, char co=1); > > > > Its not urgent, but it would be a nice feature to have. :) > > It's not C and not easily doable with the current compiler structure. While > using constants of basic types would be ok, more complex scenarios like > > extern char bar; > ... > void putbigchar(char x, char y, char c, char co = getfoo() + bar); > > need an internal representation of compiled code. Inline functions aren't > available for the same reason. shouldnt it be possible to implement the function using variadic args and pretty much get the desired behaviour like this? -- http://www.hitmen-console.org http://magicdisk.untergrund.net http://www.pokefinder.org http://ftp.pokefinder.org Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Mon Jul 27 17:20:51 2009
This archive was generated by hypermail 2.1.8 : 2009-07-27 17:20:53 CEST