The piga library should receive a C interface for the most important classes (the Interface is the most important one at the moment), to give developers the possibility to use other languages than C++ for their applications and games.
At first, the Interface and the surrounding classes (game events and input types) should be made usable through C. The interface does not need to be instantiable from C, because an application only needs one interface to the console which handles all the communication to the main host program. The other functionality can follow when needed.
I have not decided about the exact design of this API because @ruabmbua is way more experienced in C than I am, I think it's better when he designs the API and I make additions to it later. Better have an interface that is working alright across different compilers and setups, than an interface that has fancy C features no other compiler even knows about.
The piga library should receive a C interface for the most important classes (the Interface is the most important one at the moment), to give developers the possibility to use other languages than C++ for their applications and games.
At first, the Interface and the surrounding classes (game events and input types) should be made usable through C. The interface does not need to be instantiable from C, because an application only needs one interface to the console which handles all the communication to the main host program. The other functionality can follow when needed.
I have not decided about the exact design of this API because @ruabmbua is way more experienced in C than I am, I think it's better when he designs the API and I make additions to it later. Better have an interface that is working alright across different compilers and setups, than an interface that has fancy C features no other compiler even knows about.