Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : proto

Dir     : e17/proto/etk-perl


Modified Files:
        Etk.xs EtkSignals.h MANIFEST 


Log Message:
more tests, and fix notification callbacks

===================================================================
RCS file: /cvs/e/e17/proto/etk-perl/Etk.xs,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -3 -r1.51 -r1.52
--- Etk.xs      6 Sep 2006 20:13:52 -0000       1.51
+++ Etk.xs      9 Sep 2006 10:16:29 -0000       1.52
@@ -34,6 +34,8 @@
    ncb = data;
 
    PUSHMARK(SP);
+   XPUSHs(sv_2mortal(newSVObject(object)));
+   XPUSHs(sv_2mortal(newSVpv(property_name, strlen(property_name))));
    XPUSHs(sv_2mortal(newSVsv(ncb->perl_data)));
    PUTBACK;
 
@@ -2715,7 +2717,6 @@
        Notification_Callback_Data *ncb = NULL;
 
        ncb = calloc(1, sizeof(Notification_Callback_Data));
-       ncb->property_name = strdup(property_name);
        ncb->object = object;
        ncb->perl_data = newSVsv(data);
        ncb->perl_callback = newSVsv(callback);
===================================================================
RCS file: /cvs/e/e17/proto/etk-perl/EtkSignals.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- EtkSignals.h        16 Aug 2006 20:21:56 -0000      1.1
+++ EtkSignals.h        9 Sep 2006 10:16:29 -0000       1.2
@@ -32,7 +32,6 @@
 /* Carries info for the notification callback */
 struct _Notification_Callback_Data
 {
-   char                *property_name;
    Etk_Object  *object;
    SV          *perl_callback;
    void                *perl_data;
===================================================================
RCS file: /cvs/e/e17/proto/etk-perl/MANIFEST,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- MANIFEST    4 Sep 2006 19:44:40 -0000       1.9
+++ MANIFEST    9 Sep 2006 10:16:29 -0000       1.10
@@ -40,4 +40,3 @@
 lib/Etk/Constants.pm
 META.yml                                 Module meta-data (added by MakeMaker)
 TODO
-test.pl



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to