I came across the following code in a pebble application development tutorial:
// Set handlers to manage the elements inside the Window window_set_window_handlers(s_main_window, (WindowHandlers) { .load = main_window_load, .unload = main_window_unload });
I can not understand this purpose .load and .unload. Is this standard C? I do not think that I have seen a similar syntax before.
source share