Skip to content
  • Michael Natterer's avatar
    added a const_type member to all PDB types, Removed casts from all · 20946c66
    Michael Natterer authored
    2006-04-02  Michael Natterer  <mitch@gimp.org>
    
    	* tools/pdbgen/pdb.pl: added a const_type member to all PDB types,
    	Removed casts from all get_value_funcs which return const
    	pointers, they can stay const now.
    
    	* tools/pdbgen/app.pl: use the const_type to declare input args.
    
    	* app/pdb/gimpprocedure.h: pass const arguments to the internal
    	marshallers.
    
    	* app/xcf/xcf.c: changed accordingly.
    
    	* tools/pdbgen/pdb/paint_tools.pdb
    	* tools/pdbgen/pdb/paths.pdb: added some const qualifiers.
    
    	* tools/pdbgen/lib.pl: use the const_type for input args instead
    	of adding the const qualifier based on the type.
    
    	* app/pdb/_cmds.c
    	* libgimp/gimpparasite_pdb.[ch]: regenerated.
    
    	Unrelated:
    
    	* app/pdb/gimpargument.c (gimp_arguments_destroy): no need any
    	more to destroy the argument array in reverse order (we don't need
    	access to the previous element because arrays in GValues memory
    	manage themselves now).
    20946c66