Changeset 16205
- Timestamp:
- 04/24/08 13:12:29 (6 months ago)
- Files:
-
- trunk/midgard/apis/php5/php_midgard_object.c (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midgard/apis/php5/php_midgard_object.c
r16077 r16205 47 47 if(!gobject){ 48 48 49 php_midgard_e xception_throw(mgd);49 php_midgard_error_throw_exception(mgd); 50 50 return; 51 51 … … 77 77 gobject = midgard_object_new(mgd, 78 78 (const gchar *) zend_classname, 79 value); 79 value); 80 80 g_value_unset(value); 81 81 g_free(value); … … 91 91 92 92 //php_error(E_WARNING, "I am the exception, please throw me"); 93 php_midgard_e xception_throw(mgd);93 php_midgard_error_throw_exception(mgd); 94 94 return; 95 95 } … … 168 168 169 169 //php_error(E_WARNING, "I am the exception, please throw me"); 170 //if(!php_midgard_e xception_throw(mobj->mgd))170 //if(!php_midgard_error_throw_exception(mobj->mgd)) 171 171 // RETVAL_TRUE; 172 172 } … … 192 192 RETVAL_TRUE; 193 193 //php_error(E_WARNING, "I am the exception, please throw me"); 194 //if(!php_midgard_e xception_throw(mobj->mgd))194 //if(!php_midgard_error_throw_exception(mobj->mgd)) 195 195 } 196 196 } … … 217 217 RETVAL_TRUE; 218 218 //php_error(E_WARNING, "I am the exception, please throw me"); 219 //if(!php_midgard_e xception_throw(mobj->mgd))219 //if(!php_midgard_error_throw_exception(mobj->mgd)) 220 220 } 221 221 } … … 244 244 245 245 //php_error(E_WARNING, "I am the exception, please throw me"); 246 //if(!php_midgard_e xception_throw(mobj->mgd))246 //if(!php_midgard_error_throw_exception(mobj->mgd)) 247 247 } 248 248 } … … 329 329 RETVAL_TRUE; 330 330 //php_error(E_WARNING, "I am the exception, please throw me"); 331 //if(!php_midgard_e xception_throw(mobj->mgd))331 //if(!php_midgard_error_throw_exception(mobj->mgd)) 332 332 } 333 333 } … … 384 384 midgard_object_get(mobj); 385 385 php_error(E_WARNING, "I am the exception, please throw me"); 386 //if(!php_midgard_e xception_throw(mobj->mgd))386 //if(!php_midgard_error_throw_exception(mobj->mgd)) 387 387 // RETVAL_TRUE; 388 388 } … … 580 580 581 581 //php_error(E_WARNING, "I am the exception, please throw me"); 582 //if(!php_midgard_e xception_throw(mobj->mgd))582 //if(!php_midgard_error_throw_exception(mobj->mgd)) 583 583 } 584 584 }
