lol, second time in two days I see a C lover call C++ ugly! C++ is much prettier than C imo. va_list is inherently unsafe as there is no type checking, so you should not worry about the same issue in your macros. Generally this is a problem throughout C! Your PM sounds like a douche. If you are using Qt, then there is already a C++ 'bottleneck', so why stick to C?
The best way is to expose
void messagebox(json_object **json, char *iconType, char *title, char *msg, int showTime, va_list ap)
void messagebox(json_object **json, char *iconType, char *title, char *msg, int showTime, va_list ap)
To copy to clipboard, switch view to plain text mode
so that you can make your own va_list and pass into this method. Without this available, you only have hack solutions, I think.
Bookmarks