Bug 57476 - patch: Add macros for automatically loading lists of atoms
Summary: patch: Add macros for automatically loading lists of atoms
Alias: None
Product: XCB
Classification: Unclassified
Component: Utils (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: xcb mailing list dummy
QA Contact: xcb mailing list dummy
Depends on:
Reported: 2012-11-24 06:34 UTC by William Swanson
Modified: 2019-02-16 19:44 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

Version 3 of the patch (17.71 KB, text/plain)
2012-11-24 06:34 UTC, William Swanson
Version 4 of the patch (17.72 KB, patch)
2012-12-01 00:55 UTC, William Swanson
Details | Splinter Review

Description William Swanson 2012-11-24 06:34:33 UTC
Created attachment 70499 [details]
Version 3 of the patch

This patch contains a few small fixes beyond the v2 patch submitted earlier on the mailing list. As explained on the mailing list, this patch adds a pair of macros for generating atom storage structures and for generating initializer functions for those structures. This solves a long-standing pain point with the API.
Comment 1 William Swanson 2012-12-01 00:55:38 UTC
Created attachment 70853 [details] [review]
Version 4 of the patch

Double underscores are apparently illegal within C++ identifiers. This patch adopts the more widely-accepted practice of using a trailing underscore to indicate an internal preprocessor macro.
Comment 2 GitLab Migration User 2019-02-16 19:44:12 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/lib/libxcb-cursor/issues/2.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.