HPL_pdpanel_free(3)

πŸ“¦ version 2.2, in fedora 43, fedora 44

πŸ’– HPL_pdpanel_free(3) πŸ’–

okay so bestie, we're in the HPL Library Functions section of the manual (that's section 3, the library-call girlies) and today's main character is HPL_pdpanel_free. she's here to clean up. literally the Marie Kondo of your panel. 🧹✨


✨ NAME ✨

HPL_pdpanel_free β€” deallocate the panel ressources.

(no that's not a typo, the original says "ressources", we don't correct our elders πŸ’…)


🌸 SYNOPSIS 🌸

#include "hpl.h"

int HPL_pdpanel_free( HPL_T_panel * PANEL );

πŸ¦‹ DESCRIPTION πŸ¦‹

so HPL_pdpanel_free does two things and she does them well:

  • she deallocates the panel resources πŸ”₯
  • and she stores the error code returned by the panel factorization πŸ“

that's it. that's the whole job. iconic behaviour honestly, no notes.


πŸŽ€ ARGUMENTS πŸŽ€

  • PANEL β€” (local input/output) HPL_T_panel *

on entry, PANEL points to the panel data structure from which the resources should be deallocated. like, she needs to know which panel we're freeing, bestie. you hand her the pointer, she handles the rest. 🫢


πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group fr fr:

  • HPL_pdpanel_new (3)
  • HPL_pdpanel_init (3)
  • HPL_pdpanel_disp (3)

πŸ’€ reminder bestie: this is section 3, HPL_pdpanel_free(3), and she takes a HPL_T_panel *. don't be out here passing her vibes instead of pointers, it's giving segfault energy and we do not stan that. πŸ™ˆ

HPL 2.2 Β· February 24, 2016 β€” and that's the whole page girlies!! this doc dropped way back in HPL 2.2 on February 24, 2016 and she's still out here freeing panels for us. go forth, deallocate responsibly, and remember: HPL_pdpanel_free(3) loves you. πŸ’œβœ¨πŸŽ€

πŸ“¦ where this page comes from