On Wed, Jul 17, 2002 at 11:15:47PM -0400, Matthew O. Persico wrote:
> Being VERY new to the dev side of DBI...
Welcome to the dark side of the source!
> From DBD-Sybase:
> void
> ct_finish_send(sth)
> SV * sth
> CODE:
> D_imp_sth(sth);
> ST(0) = syb_ct_finish_send(sth, imp_sth) ? &sv_yes : &sv_no;
>
> I assume that D_imp_sth() is a macro that grabs the imp_sth struct from the Perl sth.
Yes.
> If so, is there a way to go backwards? That is, given an imp_sth, can I get the SV
>*sth back?
sv_2mortal( newRV( DBIc_MY_H(imp_sth) ) )
Tim.