ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/JSON-XS/typemap
Revision: 1.1
Committed: Mon Jul 2 07:39:31 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
CVS Tags: rel-1_4, rel-1_43, rel-1_41
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.1 JSON * T_JSON
2    
3     INPUT
4    
5     T_JSON
6     if (!(SvROK ($arg) && SvOBJECT (SvRV ($arg)) && SvSTASH (SvRV ($arg)) == json_stash))
7     croak (\"object is not of type JSON::XS\");
8     $var = (JSON *)SvPVX (SvRV ($arg));
9    
10