File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -10301,8 +10301,12 @@ Perl_sv_isobject(pTHX_ SV *sv)
10301
10301
=for apidoc sv_isa
10302
10302
10303
10303
Returns a boolean indicating whether the SV is blessed into the specified
10304
- class. This does not check for subtypes; use C<sv_derived_from> to verify
10305
- an inheritance relationship.
10304
+ class.
10305
+
10306
+ This does not check for subtypes or method overloading. Use C<sv_isa_sv> to
10307
+ verify an inheritance relationship in the same way as the C<isa> operator by
10308
+ respecting any C<isa()> method overloading; or C<sv_derived_from_sv> to test
10309
+ directly on the actual object type.
10306
10310
10307
10311
=cut
10308
10312
*/
Original file line number Diff line number Diff line change @@ -197,6 +197,9 @@ not derived from the specified class.
197
197
198
198
This is the function used to implement the behaviour of the C<isa> operator.
199
199
200
+ Not to be confused with the older C<sv_isa> function, which does not use an
201
+ overloaded C<isa()> method, nor will check subclassing.
202
+
200
203
=cut
201
204
202
205
*/
You can’t perform that action at this time.
0 commit comments