h2paspp(1)

πŸ’– h2paspp πŸ’–

okay so bestie, welcome to h2paspp(1) β€” the Free Pascal h2pas preprocessor program. yes it's a whole vibe, and yes you're gonna understand it. no cap. πŸ¦‹


✨ SYNOPSIS ✨

h2paspp [-doih] file1 ... filen

🌸 DESCRIPTION 🌸

so here's the tea: h2paspp reads one or more C header files and preprocesses them, writing the result to files with the same name as the originals as it goes along. it's giving "glow up your headers". πŸ’…

now, it does not accept all preprocesser tokens of C β€” she's selective, she has standards β€” but she does take care of the following preprocessor directives:

  • #define symbol β€” defines the new symbol symbol. note that macros are not supported. periodt, no macro energy here. πŸ™ˆ
  • #if symbol β€” the text following this directive is included if symbol is defined.
  • #ifdef symbol β€” the text following this directive is included if symbol is defined.
  • #ifndef symbol β€” the text following this directive is included if symbol is not defined.
  • #include filename β€” include directives are removed, unless the -I option was given, in which case the include file is included and written to the output file. lowkey iconic behaviour.
  • #undef symbol β€” the symbol symbol is undefined.

πŸŽ€ USAGE πŸŽ€

h2paspp accepts one or more filenames and preprocesses them. it will read the input, and write output to a file with the same name unless the -o option is given, in which case the file is written to the specified file. πŸ’–

⚠️ note that only one output filename can be given. one. single. file. don't be greedy bestie.

🌈 OPTIONS 🌈

h2paspp has a small number of options to control its behaviour β€” tiny but mighty, honestly:

  • -dsymbol β€” define the symbol symbol before processing is started. get her ready beforehand ✨
  • -h β€” emit a small helptext. it's literally just a lil help, and we love that for us 🫢
  • -ooutfile β€” if this option is given, the output will be written to a file named outfile. note that only one output file can be given. (yes, we're saying it twice. it's important. iykyk.) πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘


and that's the whole page, bestie πŸ’œ this was Free Pascal, dated 12 November 2004 β€” yeah she's vintage, she's a classic, main character energy since 2004, and she still slays. go preprocess something. mwah πŸ’‹πŸŒΈ

πŸ“¦ where this page comes from