Summary: | patch: Add macros for automatically loading lists of atoms | ||
---|---|---|---|
Product: | XCB | Reporter: | William Swanson <swansontec> |
Component: | Utils | Assignee: | xcb mailing list dummy <xcb> |
Status: | RESOLVED MOVED | QA Contact: | xcb mailing list dummy <xcb> |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Version 3 of the patch
Version 4 of the patch |
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. -- 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.
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.