Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gobject-introspection gobject-introspection
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 238
    • Issues 238
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 38
    • Merge requests 38
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • gobject-introspectiongobject-introspection
  • Issues
  • #28
Closed
Open
Issue created Jul 05, 2010 by Bugzilla@bugzilla-migration💬Reporter

[annotation] Add begin/finish annotations for GAsyncResult

Submitted by Travis Reitter

Link to original bug (#623635)

Description

Some languages (like Vala) support native syntax for asynchronous functions.

Vala's GLib/C parser has a heuristic that treats pairs of functions with signatures

void    $(foo)_async (..., GAsyncResultCallback cb, ...);
$(type) $(foo)_finish (..., GAsyncResult *res, ...);

as a native async function returning type $(type).

In order for Vala's (and other languages') GIR parser to generate the same binding, without having to hard-code this heuristic, g-ir-scanner/compiler will need to implement it and adjust GIR output accordingly.

Edited Feb 08, 2018 by Philip Chimento
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking