CookBookA

 view release on metacpan or  search on metacpan

Ex5/Ex5.xs  view on Meta::CPAN

#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"

/* With typemap, maps AvObject to a blessed AV */
typedef AV AvObject; 

/* NOTE:  Some would argue that there's nothing simple or easy about
 * doing callbacks from C to Perl.  Consult the perlcall manpage for
 * descriptions of the macros and concepts used here.  These examples
 * cover an end-case which is not covered in the manpage (that the
 * blessed object has already been dereferenced).
 */

MODULE = CookBookA::Ex5		PACKAGE = CookBookA::Ex5

void
ramble(self,val)
	AvObject *self



( run in 0.741 second using v1.01-cache-2.11-cpan-9b1e4054eb1 )