-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separated idl to c code generator off into own library (#1752)
* Separated idl to c code generator off into own library The C code generator is now no longer "included" in idlc, but inside its own library just like all other code generators This required the generation of extra export headers in addition to the restructuring of the code Some of the non-C generators will need to be modified slightly and include the C generator library, as this now includes the type_meta information generation functions Signed-off-by: Martijn Reicher <[email protected]> * Fixes for CodeQL requirements Made function implementations exactly match their definitions Changed function parameter names to prevent any possible shadowing of static variables Signed-off-by: Martijn Reicher <[email protected]> * Further restructuring Moved and renamed libidlc files to their own folder Moved and renamed generator_common files to their own folder Moved idlc files to their own folder Signed-off-by: Martijn Reicher <[email protected]> * Merged idlc_common library into idl After a suggestion from @eboasson moved the functions (name generation, typeinfo blobs) which will be shared between different language bindings (C, C++, python, ...) into the idl library This made the idl_common library superfluous, so that was deleted Signed-off-by: Martijn Reicher <[email protected]> * Renamed files Renamed idlcs plugin.* files to generator.* to keep it compatible with all other language bindings. The contents of these files was previously split between other files and the generator file was removed, by doing this other bindings (C++/python/???) should not require any modifications. Signed-off-by: Martijn Reicher <[email protected]> * Fix declaration/definition mismatch Signed-off-by: Erik Boasson <[email protected]> * Clean up IDLC header guards Signed-off-by: Erik Boasson <[email protected]> --------- Signed-off-by: Martijn Reicher <[email protected]> Signed-off-by: Erik Boasson <[email protected]> Co-authored-by: Erik Boasson <[email protected]>
- Loading branch information
1 parent
bde2009
commit d6cdd36
Showing
28 changed files
with
437 additions
and
392 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.