I am porting some C# code (classes mostly) to C. I have analysed the code and the port is definitely possible. One thing I am not sure of though, is how to handle (i.e. implement) raising events in C.
I am in a Linux environment, and I expect the binary to run on Linux only. I heard that GLib supports events, but don't know much about this - any help would be appreciated.
A hello world example of raising an event and handling it in C would be very useful.