ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/Coro/State.xs
(Generate patch)

Comparing Coro/Coro/State.xs (file contents):
Revision 1.143 by root, Wed Feb 28 11:43:03 2007 UTC vs.
Revision 1.144 by root, Sun Mar 4 11:45:23 2007 UTC

936 /* very slow, but rare, check */ 936 /* very slow, but rare, check */
937 if (!sv_derived_from (sv_2mortal (newRV_inc (coro)), "Coro::State")) 937 if (!sv_derived_from (sv_2mortal (newRV_inc (coro)), "Coro::State"))
938 croak ("Coro::State object required"); 938 croak ("Coro::State object required");
939 } 939 }
940 940
941 mg = SvMAGIC (coro); 941 mg = CORO_MAGIC (coro);
942 assert (mg->mg_type == PERL_MAGIC_ext);
943 return (struct coro *)mg->mg_ptr; 942 return (struct coro *)mg->mg_ptr;
944} 943}
945 944
946static void 945static void
947prepare_transfer (struct transfer_args *ta, SV *prev_sv, SV *next_sv) 946prepare_transfer (struct transfer_args *ta, SV *prev_sv, SV *next_sv)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines