add all python types
This commit is contained in:
		
							parent
							
								
									06c39a99b6
								
							
						
					
					
						commit
						efa862371d
					
				@ -2584,7 +2584,6 @@ sub finish {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    print $cfh "#define PY_SIGAR_ADD_TYPES $nl";
 | 
					    print $cfh "#define PY_SIGAR_ADD_TYPES $nl";
 | 
				
			||||||
    for my $func (@$mappings) {
 | 
					    for my $func (@$mappings) {
 | 
				
			||||||
        next unless $func->{has_get};
 | 
					 | 
				
			||||||
        my $pyclass = pyclass($func->{name});
 | 
					        my $pyclass = pyclass($func->{name});
 | 
				
			||||||
        my $pytype = pytype($func->{name});
 | 
					        my $pytype = pytype($func->{name});
 | 
				
			||||||
        print $cfh qq{    PySigar_AddType("$pyclass", $pytype)};
 | 
					        print $cfh qq{    PySigar_AddType("$pyclass", $pytype)};
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user