Enlightenment CVS committal
Author : mej
Project : eterm
Module : libast
Dir : eterm/libast/include/libast
Modified Files:
obj.h
Log Message:
Wed Nov 5 15:05:35 2003 Michael Jennings (mej)
Oops. Forgot to fix a couple.
===================================================================
RCS file: /cvsroot/enlightenment/eterm/libast/include/libast/obj.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- obj.h 1 Nov 2003 18:56:43 -0000 1.21
+++ obj.h 5 Nov 2003 20:05:44 -0000 1.22
@@ -33,8 +33,8 @@
* manipulating basic generic objects.
*
* @author Michael Jennings <[EMAIL PROTECTED]>
- * $Revision: 1.21 $
- * $Date: 2003/11/01 18:56:43 $
+ * $Revision: 1.22 $
+ * $Date: 2003/11/05 20:05:44 $
*/
/[EMAIL PROTECTED]/
@@ -193,7 +193,7 @@
*/
#define SPIF_DEFINE_PROPERTY_FUNC(otype, vtype, name) \
SPIF_TYPE(vtype) spif_ ## otype ## _get_ ## name (SPIF_TYPE(otype) self) \
- { return ((SPIF_OBJ_IS_TYPE(self, otype)) ? (self-> ## name) :
(SPIF_NULL_TYPE(vtype))); } \
+ { return ((SPIF_OBJ_IS_TYPE(self, otype)) ? (self->name) :
(SPIF_NULL_TYPE(vtype))); } \
SPIF_TYPE(bool) spif_ ## otype ## _set_ ## name (SPIF_TYPE(otype) self,
SPIF_TYPE(vtype) new_ ## name) \
{ \
if (!SPIF_OBJ_IS_TYPE(self, otype)) { \
@@ -223,7 +223,7 @@
*/
#define SPIF_DEFINE_PROPERTY_FUNC_NONOBJ(otype, vtype, name) \
SPIF_TYPE(vtype) spif_ ## otype ## _get_ ## name (SPIF_TYPE(otype) self) \
- { return ((SPIF_OBJ_IS_TYPE(self, otype)) ? (self-> ## name) : (SPIF_CAST(vtype)
(0))); } \
+ { return ((SPIF_OBJ_IS_TYPE(self, otype)) ? (self->name) : (SPIF_CAST(vtype)
(0))); } \
SPIF_TYPE(bool) spif_ ## otype ## _set_ ## name (SPIF_TYPE(otype) self,
SPIF_TYPE(vtype) new_ ## name) \
{ \
if (!SPIF_OBJ_IS_TYPE(self, otype)) { \
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs