TYPEMAKER2(1)
π TYPEMAKER2(1) β like, the typemaker2 manual, bestie β¨
okay so real quick, the manual name is typemaker2 and it lives in section 1 of the manual pages, and honestly? she's an icon. let's get into it π
πΈ NAME πΈ
typemaker2 β she creates source and header files for the XML file you hand her. that's the whole job. slay.
β¨ SYNOPSIS β¨
typemaker2 [global options] <command> [local options]
π¦ DESCRIPTION π¦
okay so this tool generates source and header files for simple data containers, and she gets all of that from XML files. from those XML files she whips up fromDb and toDb functions for structs, plus getters and setters for every single member. no cap.
the whole point? it makes maintaining data containers with a ton of members way easier (think AB_TRANSACTION energy). like, you add a member to the XML file and boom β it's immediately loaded, saved, destroyed and copied along with the rest of the struct whenever it's asked to. for example, _fromDb() will load all the members from a GWEN_DB. π
the current version creates a C file and headers for it.
she also creates appropriate API documentation if you provide her with the source XML file. thoughtful queen. π
π GLOBAL OPTIONS π
-DPARAM,--api=PARAM β API declaration prefix (likeGWENHYWFAR_API)--public=PARAM β name of the public header file to create--library=PARAM β name of the library header file to create--protected=PARAM β name of the protected header file to create--private=PARAM β name of the private header file to create--code=PARAM β name of the code file to create--destfolder=PARAM β destination folder--lang=PARAM β language for which to create the headers and code-IPARAM,--include=PARAM β add folder to include for type lookup-d,--defs-onlyβ only write def files (*.tm2)--no-defsβ don't write def files (*.tm2)-h,--helpβ show this help screen
π COMMANDS π
buildβ this command creates source and header files for the given file
π BUGS π
no bugs known at the time of writing this manual page. we stay winning, fr fr. π«Ά
π COPYING π
Copyright (C) Martin PreuΓ. Free use of this software is granted under the terms of the GNU Lesser General Public License (LGPL).
the manpage was composed by Micha Lenk and converted by the nifty tool Asciidoctor into a manpage. iconic.
β AUTHOR β
Micha Lenk
okay bestie that's the whole page, tysm for reading π₯° this was TYPEMAKER2(1) and the date on it is 2026-07-24 β mwah, love u, go generate some headers π πβ¨
π¦ where this page comes from
- ubuntu stonking: gwenhywfar-tools 5.14.1-3build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms