in reply to
Passing GD::Image object to Inline C
From PerlXS http://perldoc.perl.org/perlxstut.html Look for "More about XSUB arguments" - shows how to pass by reference, you should be able to apply this is Inline C since it utilizes XS.
Comment on
Re: Passing GD::Image object to Inline C
In Section
Seekers of Perl Wisdom