After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 615887 - Add a simple callback type which has no arguments or return values
Add a simple callback type which has no arguments or return values
Status: RESOLVED FIXED
Product: gobject-introspection
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2010-04-15 21:05 UTC by Zach Goldberg
Modified: 2015-02-07 16:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add a simple callback type which has no arguments or return values (1.49 KB, patch)
2010-04-15 21:05 UTC, Zach Goldberg
reviewed Details | Review
Add a simple callback type which has no arguments or return values (1.53 KB, patch)
2010-04-15 21:25 UTC, Zach Goldberg
accepted-commit_now Details | Review
Add a simple callback type which has no arguments or return values (1.53 KB, patch)
2010-04-15 21:27 UTC, Zach Goldberg
committed Details | Review

Description Zach Goldberg 2010-04-15 21:05:18 UTC
This adds a basic type of callback and a function test to the everything
module for pygi
Comment 1 Zach Goldberg 2010-04-15 21:05:20 UTC
Created attachment 158837 [details] [review]
Add a simple callback type which has no arguments or return values
Comment 2 Colin Walters 2010-04-15 21:15:31 UTC
Review of attachment 158837 [details] [review]:

::: gir/everything.h
@@ +310,3 @@
 /* callback */
 
+typedef void (*TestSimpleCallback) ();

For consistency let's put (void) here.
Comment 3 Zach Goldberg 2010-04-15 21:25:41 UTC
Created attachment 158842 [details] [review]
Add a simple callback type which has no arguments or return values
Comment 4 Zach Goldberg 2010-04-15 21:27:18 UTC
Created attachment 158843 [details] [review]
Add a simple callback type which has no arguments or return values
Comment 5 Colin Walters 2010-04-15 21:28:19 UTC
Review of attachment 158842 [details] [review]:

LGTM
Comment 6 Colin Walters 2010-04-16 14:58:02 UTC
Attachment 158843 [details] pushed as 2c99e2c - Add a simple callback type which has no arguments or return values
Comment 7 André Klapper 2015-02-07 16:45:41 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]