Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
gimp-image-get-filename
#5
(10-08-2024, 04:00 AM)PixLab Wrote: I also read there > https://developer.gimp.org/api/2.0/libgi...t-filename
that "gimp-image-get-filename" returns The filename. The returned value must be freed with g_free().
What does it mean "must be freed with g_free()"? what is g_free()?

You are looking at the doc for the C API. For script-fu, stick to the doc in the script-fu console, much less confusing (the C doc also contains a lot of calls that aren't available in script-fu.
Reply


Messages In This Thread
gimp-image-get-filename - by PixLab - 10-07-2024, 07:36 AM
RE: gimp-image-get-filename - by Ofnuts - 10-07-2024, 11:01 PM
RE: gimp-image-get-filename - by PixLab - 10-08-2024, 04:00 AM
RE: gimp-image-get-filename - by Ofnuts - 10-08-2024, 07:22 AM
RE: gimp-image-get-filename - by teapot - 10-08-2024, 05:39 AM
RE: gimp-image-get-filename - by PixLab - 10-09-2024, 05:14 AM
RE: gimp-image-get-filename - by rich2005 - 10-09-2024, 08:37 AM
RE: gimp-image-get-filename - by PixLab - 10-09-2024, 01:14 PM
RE: gimp-image-get-filename - by teapot - 10-09-2024, 04:28 PM
RE: gimp-image-get-filename - by PixLab - 10-10-2024, 09:44 AM
RE: gimp-image-get-filename - by teapot - 10-10-2024, 06:48 PM
RE: gimp-image-get-filename - by PixLab - 10-30-2024, 06:37 AM

Forum Jump: