XMPARSEMAPPINGGETVALUES(3)

πŸ“¦
version 2.5.2 Β· 2 versions
, in alpine 3.24, arch rolling, centos-stream 9, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

✨ NAME ✨

XmParseMappingGetValues β€” bestie, this is the compound string function that lets you peek at the attributes of a parse mapping πŸ‘€πŸ’…

It's a library call, from the Xm crew, and it's literally just here to read stuff back out of your XmParseMapping object πŸŽ€


🌸 SYNOPSIS 🌸

#include <Xm/Xm.h>
void XmParseMappingGetValues(
        XmParseMapping parse_mapping,
        ArgList arglist,
        Cardinal argcount);

πŸ’– DESCRIPTION πŸ’–

okay so. XmParseMappingGetValues grabs the attributes off an XmParseMapping object for you, and the way it does it is very resource-style argument list coded of it ✨ Like, you hand it an arglist and it fills in the values, no cap.

🚨 IMPORTANT, babes, listen up: if the XmNsubstitute resource is chillin' in the arglist, this function will allocate space to hold the returned XmString value. That memory is yours to manage β€” the application is responsible for it, periodt. πŸ’€

And the way you recover that allocated space? You call XmStringFree. That's it, that's the move. Free your strings, bestie, or it's giving memory leak 😭🫢

🌈 The Parameters

  • arglist β€” Specifies the argument list πŸ’«
  • argcount β€” Specifies the number of attribute/value pairs in the argument list (arglist) πŸ”’

If you want the whole entire definition of XmParseMapping and all its associated resources (and honestly, you should, it's iconic), go see XmParseMapping(3) πŸ“–


the girlies you should also be reading, in no particular order:


XmParseMappingGetValues(library call) β€” that's the whole vibe, that's the whole page, and yeah the footer is literally just the title again because the library call section said so πŸŽ€πŸ’œ no date, no version drama, just the Xm library call header doing its little main character moment. slay, go free your strings, mwah πŸ’‹βœ¨