@@ -186,54 +186,6 @@ static zend_object *Transliterator_clone_obj( zend_object *object )
186
186
}
187
187
/* }}} */
188
188
189
- /* {{{ get_property_ptr_ptr handler */
190
- static zval * Transliterator_get_property_ptr_ptr ( zend_object * object , zend_string * name , int type , void * * cache_slot )
191
- {
192
- if (zend_string_equals_literal (name , "id" )) {
193
- return NULL ; /* fallback to read_property */
194
- }
195
- return zend_std_get_property_ptr_ptr ( object , name , type , cache_slot );
196
- }
197
- /* }}} */
198
-
199
- /* {{{ read_property handler */
200
- static zval * Transliterator_read_property ( zend_object * object , zend_string * name , int type , void * * cache_slot , zval * rv )
201
- {
202
- zval * retval ;
203
-
204
- if ((type != BP_VAR_R && type != BP_VAR_IS ) && zend_string_equals_literal (name , "id" )) {
205
- zend_throw_error (NULL , "Transliterator::$id is read-only" );
206
- retval = & EG ( uninitialized_zval );
207
- } else {
208
- retval = zend_std_read_property ( object , name , type , cache_slot , rv );
209
- }
210
-
211
- return retval ;
212
- }
213
-
214
- /* }}} */
215
-
216
- /* {{{ write_property handler */
217
- static zval * Transliterator_write_property ( zend_object * object , zend_string * name , zval * value ,
218
- void * * cache_slot )
219
- {
220
- zend_class_entry * scope ;
221
-
222
- if (EG (fake_scope )) {
223
- scope = EG (fake_scope );
224
- } else {
225
- scope = zend_get_executed_scope ();
226
- }
227
- if ((scope != Transliterator_ce_ptr ) && zend_string_equals_literal (name , "id" )) {
228
- zend_throw_error (NULL , "Transliterator::$id is read-only" );
229
- } else {
230
- value = zend_std_write_property ( object , name , value , cache_slot );
231
- }
232
-
233
- return value ;
234
- }
235
- /* }}} */
236
-
237
189
/* {{{ transliterator_register_Transliterator_class
238
190
* Initialize 'Transliterator' class
239
191
*/
@@ -246,9 +198,6 @@ void transliterator_register_Transliterator_class( void )
246
198
Transliterator_handlers .offset = XtOffsetOf (Transliterator_object , zo );
247
199
Transliterator_handlers .free_obj = Transliterator_objects_free ;
248
200
Transliterator_handlers .clone_obj = Transliterator_clone_obj ;
249
- Transliterator_handlers .get_property_ptr_ptr = Transliterator_get_property_ptr_ptr ;
250
- Transliterator_handlers .read_property = Transliterator_read_property ;
251
- Transliterator_handlers .write_property = Transliterator_write_property ;
252
201
253
202
/* constants are declared in transliterator_register_constants, called from MINIT */
254
203
0 commit comments