DMLabel is now a PetscObject, but the struct name does not match the usual conventions, it should be _p_DMLabel, but instead:
include/petsc/private/dmlabelimpl.h:struct _n_DMLabel { include/petscdmlabel.h:typedef struct _n_DMLabel *DMLabel; -- Lisandro Dalcin ============ Research Scientist Extreme Computing Research Center (ECRC) King Abdullah University of Science and Technology (KAUST) http://ecrc.kaust.edu.sa/