From: David C. <dw...@dw...> - 2005-09-30 13:51:18
|
> It is an area that needed development until a few days ago :-). > Functions with a fixed number of arguments are now imported > automatically in the bindings (as long as all the argument types > are supported by hoc). Supporting variable-argument functions like > NSLog would be quite hard and I think NSLog alone is not worth it - > it's easier to just write somehting to stderr yourself. > > Cheers, > > Wolfgang Cool, thanks. Really, the features that I liked from NSLog() was the ability to inline an NSObject's description within the format string (ala @"% @"), but that could be done just as well as haskellString (obj # description). Now, depending on whether NSRect is a supported argument type (I think it's just a packed struct of floats), it'll make life easier. Thanks! David |