@@ -109,42 +109,4 @@ void rb_singleton_class_attached(VALUE klass, VALUE obj);
109109void rb_copy_generic_ivar (VALUE clone, VALUE obj);
110110RBIMPL_SYMBOL_EXPORT_END ()
111111
112- RBIMPL_ATTR_DEPRECATED((" This is no longer how Object#clone works." ))
113- /* *
114- * @deprecated Not sure exactly when but at some time, the implementation of
115- * `Object#clone` stopped using this function. It remained
116- * untouched for a while, and then @shyouhei realised that they
117- * are no longer doing the same thing. It seems nobody seriously
118- * uses this function any longer. Let's just abandon it.
119- *
120- * @param[out] clone The destination object.
121- * @param[in] obj The source object.
122- */
123- static inline void
124- rb_clone_setup(VALUE clone, VALUE obj)
125- {
126- (void )clone;
127- (void )obj;
128- return ;
129- }
130-
131- RBIMPL_ATTR_DEPRECATED ((" This is no longer how Object#dup works." ))
132- /* *
133- * @deprecated Not sure exactly when but at some time, the implementation of
134- * `Object#dup` stopped using this function. It remained
135- * untouched for a while, and then @shyouhei realised that they
136- * are no longer the same thing. It seems nobody seriously uses
137- * this function any longer. Let's just abandon it.
138- *
139- * @param[out] dup The destination object.
140- * @param[in] obj The source object.
141- */
142- static inline void
143- rb_dup_setup(VALUE dup, VALUE obj)
144- {
145- (void )dup;
146- (void )obj;
147- return ;
148- }
149-
150112#endif /* RBIMPL_NEWOBJ_H */
0 commit comments