
26 Jul
2013
26 Jul
'13
6:44 a.m.
Hi, I have been trying to write a function with a default argument.
The function: void recolor_wheel_nodes_init(GtkWidget *widget , int obj_list_size = RECOLOR_MAX_OBJECTS ) { ..... }
This gives the following error: expected ';', ',' or ')' before '=' token
Aren't default arguments allowed in GTK ? I bet I've seen them at a few places in the codebase before.
--
Arshdeep Singh
Third Year, Computer Engineering
Delhi Technological University
Ph: +91-9654115614
https://sites.google.com/site/adsingh1729/home