X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Fapplication.h;h=af18cea664b35eca77cc2148fd4db6815f5fadb6;hp=e1d3a8b5e2be95d0c2fd0ffce151a1347264f080;hb=dd997d45dd774b1d6734a19c6eb6efdd6be14234;hpb=211c503e709ffa8bec7b71b8004ecdeadf776c4c diff --git a/source/core/application.h b/source/core/application.h index e1d3a8b..af18cea 100644 --- a/source/core/application.h +++ b/source/core/application.h @@ -42,7 +42,7 @@ public: This function can only be called once. The global main() function provided by the library normally does it automatically at program startup. */ - static int run(int, char **, void * =0); + static int run(int, char **, void * =0, void (*)(void *) = 0); static void *get_data() { return data_; }