Difference for plugins/common/plugin_common.c from version 1.1 to 1.2


version 1.1 version 1.2
Line 483
 
Line 483
     return *( int* )cfapiObject_get_property( &val, ob, CFAPI_OBJECT_PROP_WEIGHT );       return *( int* )cfapiObject_get_property( &val, ob, CFAPI_OBJECT_PROP_WEIGHT );
 }   }
    
 void cf_object_set_nrof( object* ob, int nrof )   /**
    * @return -1=nrof is invalid, 0=nrof is ok#
    */
   int cf_object_set_nrof( object* ob, int nrof )
 {   {
     int val;       int val;
   
       if (nrof < 0)
           return -1;
   
     cfapiObject_set_property( &val, ob, CFAPI_OBJECT_PROP_NROF, nrof );       cfapiObject_set_property( &val, ob, CFAPI_OBJECT_PROP_NROF, nrof );
       return 0;
 }   }
    
 int cf_object_get_nrof( object* ob )   int cf_object_get_nrof( object* ob )


Legend:
line(s) removed in v.1.1 
line(s) changed
 line(s) added in v.1.2

File made using version 1.98 of cvs2html by leaf at 2011-07-21 16:58