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 310226 - libgda uses void* for binary data
libgda uses void* for binary data
Status: RESOLVED FIXED
Product: libgda
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Rodrigo Moya
gnome-db Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-07-13 14:23 UTC by Murray Cumming
Modified: 2005-09-15 11:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
libgda_binary.patch (3.51 KB, patch)
2005-07-13 14:24 UTC, Murray Cumming
none Details | Review

Description Murray Cumming 2005-07-13 14:23:32 UTC
This patch changes the use of gpointer to guint8* for binary data in GdaValue. I
don't know if this really works anyway, and I chose guint8 arbitrarily, but
surely void* is unnecessary because the data does have some structure.
Comment 1 Murray Cumming 2005-07-13 14:24:14 UTC
Created attachment 49092 [details] [review]
libgda_binary.patch
Comment 2 Murray Cumming 2005-07-13 14:24:40 UTC
Comment on attachment 49092 [details] [review]
libgda_binary.patch

Patch for libgda 2 (cvs HEAD)
Comment 3 Rodrigo Moya 2005-07-13 16:39:12 UTC
hmm, wouldn't it be better to use guchar?
Comment 4 Murray Cumming 2005-08-21 12:31:52 UTC
Possibly. Maybe they are the same thing. I wouldn't object. I just wanted
something that's the same on all platforms.
Comment 5 malerba 2005-09-15 11:32:08 UTC
Corrected using guchar*.