valabind-cc(1)

πŸ’– NAME πŸ’–

valabind-cc β€” the Vala-to-swig interface compiler, bestie. Yes, that's the whole name. She's section 1 of the manual, she's iconic, she's here to make your bindings happen. πŸ¦‹


✨ SYNOPSIS ✨

valabind-cc language modname [--version] [--vapidir dir] [--glib]
            [--test lang] [-n] [-x] [-X] [-I path] [-L path]
            [-l libname] [-D SYMBOL] [-C] vapifile

okay so you hand her a language, a modname, a vapifile, and whatever little flags your heart desires. that's the whole vibe. πŸŽ€


🌸 DESCRIPTION 🌸

so like. valabind-cc is a frontend β€” a little main-character wrapper β€” for valabind, swig, and the C compiler (gcc by default, in case you were wondering who's doing the actual heavy lifting).

her whole goal? making all those wrapped tools feel less like a group project where nobody talks to each other. she simplifies using all of them together so you can compile usable bindings for many programming languages. literally the connector friend of the toolchain. πŸ’…


🫢 EXAMPLE 🫢

here's her serving in the wild:

valabind-cc python r_bp -I/usr/include/r_bp r_bp.vapi

python bindings, r_bp, include path pointed at /usr/include/r_bp, source file r_bp.vapi. slay. πŸ”₯


🌈 ENVIRONMENT 🌈

  • XDG_DATA_DIRS β€” the standard freedesktop environment variable, no cap. it points to the share prefix directory where vala goes looking for its vapi files. if vala can't find your vapis, this is the bestie you need to check on. πŸ’œ

πŸ‘‘ SEE ALSO πŸ‘‘

  • valabind(1) β€” her origin story. go read it, iykyk. ⭐

πŸ’€ AUTHORS πŸ’€

  • pancake <@nopcode.org> β€” the legend behind all of this. absolute icon behavior. πŸŽ€

okay and that's the whole page!! this one's dated Nov 15, 2012, and she lives in the valabind-cc(1) section of your manual. go compile something cute with her. mwah. πŸ’–βœ¨πŸ¦‹