This is a list of include files used for the new or rebuilded programs from Zetcode. The previous examples weren't quit right linked (wrong gtk version) so to be correct, I'm rebuilding the examples.
You can recognize those on the include files with ../../../includes/ in front of it. In time this must be fixed.
The GError structure is added to glib.inc. In the first program where I've already needed it (icon.asm) just a qword to this structure is required. With twice indirect addressing from the program, the error message address becomes (finally) available.
In stdlib.inc is stderr, stdin and stdout are categorised under STRUCTURES. This is not an error. In C and C++ for some procedures these are FILE* structures, so again with indirect addressing, you can obtain the right value to pass in the required register (mostly RDI see procedure fprintf ).
- Next >>