Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Remove ALPM_Group and T_GROUP from typemap.

  • Loading branch information...
commit 6ba2efac10fc60c20d8f25b046ead071e454977d 1 parent 14fc001
Justin Davis authored February 24, 2012

Showing 1 changed file with 0 additions and 19 deletions. Show diff stats Hide diff stats

  1. 19  typemap
19  typemap
@@ -8,7 +8,6 @@ ALPM_SyncDB			T_ALPM_SYNCDB
8 8
 ALPM_Package			T_ALPM_PACKAGE
9 9
 ALPM_PackageFree		T_ALPM_PACKAGEFREE
10 10
 ALPM_PackageOrNull	T_ALPM_PACKAGEORNULL
11  
-ALPM_Group			T_ALPM_GROUP
12 11
 ALPM_SigLevel			T_SIGLEVEL
13 12
 
14 13
 PackageListFree	L_PACKAGE_FREE
@@ -82,16 +81,6 @@ T_ALPM_PACKAGEFREE
82 81
 			\"$var\", \"ALPM::PackageFree\")
83 82
 	}
84 83
 
85  
-T_ALPM_GROUP
86  
-	if(sv_derived_from($arg, \"ALPM::Group\")){
87  
-		IV tmp = SvIV((SV*)SvRV($arg));
88  
-		$var = INT2PTR($type,tmp);
89  
-	}else{
90  
-		Perl_croak(aTHX_ \"%s: %s is not of type %s\",
91  
-			${$ALIAS?\q[GvNAME(CvGV(cv))]:\qq[\"$pname\"]},
92  
-			\"$var\", \"ALPM::Group\")
93  
-	}
94  
-
95 84
 T_SIGLEVEL
96 85
 	$var = p2c_siglevel($arg);
97 86
 
@@ -153,14 +142,6 @@ T_ALPM_PACKAGEORNULL
153 142
 	}
154 143
 	sv_setref_pv($arg, \"ALPM::Package\", (void *)$var);
155 144
 
156  
-T_ALPM_GROUP
157  
-	if ( $var == NULL ) {
158  
-		$arg = &PL_sv_undef;
159  
-	}
160  
-	else {
161  
-		sv_setref_pv( $arg, \"ALPM::Group\", (void *)$var );
162  
-	}
163  
-
164 145
 T_SIGLEVEL
165 146
 	$arg = c2p_siglevel($var);
166 147
 

0 notes on commit 6ba2efa

Please sign in to comment.
Something went wrong with that request. Please try again.