Re: [PATCH 2/3] Consolidate NativeGObjectSafePtr definitions



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]