Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gstreamer-rs gstreamer-rs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 44
    • Issues 44
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gstreamer-rsgstreamer-rs
  • Merge requests
  • !630

Replace manual enum functions with autogenerated ones

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Marijn Suijten requested to merge MarijnS95/gstreamer-rs:enum-functions into master Nov 15, 2020
  • Overview 121
  • Commits 23
  • Pipelines 34
  • Changes 175

See https://github.com/gtk-rs/gir/pull/991: gir learned to generate associated functions for enums: this MR contains partially regenerated files with those functions and deletes manual implementations, while at the same time reworking some of the intermediate impl blocks. There are still some issues to be resolved which will be created as new threads below instead of a bulletpoint list that's annoying to respond to :)

Note that, for the time being, this needs an MSRV of 1.42 - which is apparently planned?

Edited Dec 07, 2020 by Sebastian Dröge
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: enum-functions