Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • G GLib
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 853
    • Issues 853
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 54
    • Merge requests 54
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • GLib
  • Merge requests
  • !2410

gtype: Define G_DECLARE_BOXED_TYPE macro

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Logan Rathbone requested to merge LARathbone/glib:boxed-type-macro into main Dec 28, 2021
  • Overview 5
  • Commits 1
  • Pipelines 1
  • Changes 1

This is for consistency with the other G_DECLARE_*_TYPE macros.

Developers that have never programmed with GObject since 2.44 may be confused about how to actually write a GType declaration.

This macro may not buy as much as the G_DECLARE_*_TYPE macros, but promotes code readability and brings creating boxed types more in line with creating other GTypes in GObject-oriented header files.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: boxed-type-macro