NSBlog
"A failure in the hot air department"
Showing entries tagged "vararg". Full blog index.
Friday Q&A 2011-08-05: Method Signature Mismatches
at 2011-08-05 14:45
You're happily writing code one day, click Build, and suddenly the dreaded warning appears:
warning: no '-fooMessage' method found (Messages without a matching method signature will be assumed to return 'id' and accept '...' as arguments.)
You double-check your code and your method name is correct, so you shrug and move on. A few hours later, your program starts misbehaving strangely. What's going on? Today, I'll explore the mysterious world of Objective-C method signature mismatches, a topic suggested by an anonymous reader.Friday Q&A 2009-08-21: Writing Vararg Macros and Functions
at 2009-08-21 15:15
Welcome to another Friday Q&A, where all references are strong and all values are above average. This week I'm going to talk about how to write macros and functions that take variable arguments in C, as suggested by Damien Sorresso.