Re: [PATCH 2/3] Consolidate NativeGObjectSafePtr definitions
- From: Dodji Seketeli <dodji seketeli org>
- To: Debarshi Ray <rishi is lostca se>
- Cc: The mailing list of the Nemiver project <nemiver-list gnome org>
- Subject: Re: [PATCH 2/3] Consolidate NativeGObjectSafePtr definitions
- Date: Tue, 08 Jul 2014 09:32:55 +0200
Debarshi Ray <rishi is lostca se> a écrit:
Hey Dodji,
Yes, this looks good to me.
Thanks!
typedef SafePtr <gchar, CharsRef, GCharUnref> GCharSafePtr;
typedef SafePtr <Object, ObjectRef, ObjectUnref> ObjectSafePtr;
typedef SafePtr <gchar, CharsRef, DelCharsUnref> CharSafePtr;
typedef SafePtr <gunichar, UnicharsRef, DelUnicharsUnref> UnicharSafePtr;
typedef SafePtr<GError, GErrorRef, GErrorUnref> GErrorSafePtr;
+typedef SafePtr<void*,
+ RefGObjectNative,
+ UnrefGObjectNative> NativeGObjectSafePtr;
Should there be a space between SafePtr and < ?
As I said for the previous similar case, there shouldn't have been a
space there for the previous cases. I'll remove them there instead :-)
Thanks!
--
Dodji
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]