glib/docs/reference/glib
Philip Withnall 329843f682 gmem: Add g_free_sized() and g_aligned_free_sized()
These wrap `free_sized()` and `free_aligned_sized()`, which are present
in C23[1]. This means that user code can start to use them without checking
for C23 support everywhere first.

It also means we can use them internally in GSlice to get a bit of
performance for the code which still uses it.

See https://en.cppreference.com/w/c/memory/free_aligned_sized and
https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2699.htm.

[1]: Specifically, section 7.24.3.4 of the latest C23 draft at
https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3088.pdf.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2023-02-02 12:30:59 +00:00
..
xml docs: Change Bugzilla references to GitLab 2018-06-15 13:04:39 +01:00
building.xml build: Deprecate -Druntime_libdir option 2022-11-22 16:31:28 +00:00
changes.xml tree: Fix various typos and outdated terminology 2020-06-12 15:01:08 +01:00
compiling.xml compiling.xml: Don't recommend backticks 2021-06-09 10:13:27 +00:00
cross.xml Make ld executable configurable 2019-11-04 15:08:33 +00:00
file-name-encodings.png Huh? This was a 6-byte file. Replaced it with the correct one. 2006-01-12 19:47:02 +00:00
file-name-encodings.sxd Replaced with the correct file. 2006-01-12 19:49:32 +00:00
glib-docs.xml docs: Add 2.76 release series documentation pages to the build 2022-10-14 16:03:29 +01:00
glib-gettextize.xml docs: Improve man page consistency 2012-08-03 23:36:45 -04:00
glib-overrides.txt Revert "meson: Define G_OS_DARWIN when compiling under OSX or iOS" 2022-11-07 11:30:32 +00:00
glib-sections.txt.in gmem: Add g_free_sized() and g_aligned_free_sized() 2023-02-02 12:30:59 +00:00
gtester-report.xml glib: Deprecate gtester and gtester-report 2019-05-14 12:14:54 +01:00
gtester.xml glib: Deprecate gtester and gtester-report 2019-05-14 12:14:54 +01:00
gvariant-byte-boundaries.svg docs: Add licensing/copyright data to GVariant specification 2022-11-08 15:46:16 +00:00
gvariant-integer-and-string-structure.svg docs: Add licensing/copyright data to GVariant specification 2022-11-08 15:46:16 +00:00
gvariant-integer-array.svg docs: Add licensing/copyright data to GVariant specification 2022-11-08 15:46:16 +00:00
gvariant-specification-1.0.rst docs: Fix a broken link in the GVariant Specification 2022-11-08 15:46:16 +00:00
gvariant-string-array.svg docs: Add licensing/copyright data to GVariant specification 2022-11-08 15:46:16 +00:00
gvariant-text.xml tree: Fix various typos and outdated terminology 2020-06-12 15:01:08 +01:00
gvariant-varargs.xml docs: Improve GVariant docs 2021-11-29 15:24:15 +05:30
mainloop-states.eps add images 2000-12-05 20:43:58 +00:00
mainloop-states.fig add images 2000-12-05 20:43:58 +00:00
mainloop-states.gif add images 2000-12-05 20:43:58 +00:00
mainloop-states.png add images 2000-12-05 20:43:58 +00:00
meson.build Apply 2 suggestion(s) to 1 file(s) 2022-11-01 17:38:22 +00:00
programming.xml docs: fix grammar in Writing GLib Applications/Threads 2016-01-31 12:54:28 -05:00
regex-syntax.xml replace pcre1 with pcre2 2022-07-12 11:46:34 +00:00
resources.xml docs: Remove mentions of mailing lists 2019-07-23 11:27:30 +01:00
running.xml gslice: Remove slice allocator and use malloc() instead 2023-01-25 13:49:09 +00:00
Sorted_binary_tree_breadth-first_traversal.svg More GTree and GNode formatting and documentation fixes 2014-01-19 23:49:12 -05:00
Sorted_binary_tree_inorder.svg More GTree and GNode formatting and documentation fixes 2014-01-19 23:49:12 -05:00
Sorted_binary_tree_postorder.svg More GTree and GNode formatting and documentation fixes 2014-01-19 23:49:12 -05:00
Sorted_binary_tree_preorder.svg More GTree and GNode formatting and documentation fixes 2014-01-19 23:49:12 -05:00
version.xml.in Add version info to API docs. 2002-11-23 01:37:17 +00:00