Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • G GLib
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 884
    • Issues 884
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 44
    • Merge requests 44
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & 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
  • GNOME
  • GLib
  • Merge requests
  • !2677

param: Add a value_is_valid vfunc

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Matthias Clasen requested to merge param-speedups2 into main May 20, 2022
  • Overview 21
  • Commits 6
  • Pipelines 9
  • Changes 6

In constrast to value_validate, this one does not modify the passed-in value, so we can avoid the cost of copying the GValue beforehand. It is optional, but we set it for most of the builtin pspec types.

This MR adds new api: g_param_value_is_valid()

Edited May 20, 2022 by Matthias Clasen
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: param-speedups2