require '_h2ph_pre.ph';

unless(defined(&_UVM_UVM_OBJECT_H_)) {
    eval 'sub _UVM_UVM_OBJECT_H_ () {1;}' unless defined(&_UVM_UVM_OBJECT_H_);
    eval 'sub UVM_OBJ_KERN () {(-2);}' unless defined(&UVM_OBJ_KERN);
    eval 'sub UVM_OBJ_KERN_INTRSAFE () {(-3);}' unless defined(&UVM_OBJ_KERN_INTRSAFE);
    eval 'sub UVM_OBJ_IS_KERN_OBJECT {
        local($uobj) = @_;
	    eval q((($uobj)-> &uo_refs ==  &UVM_OBJ_KERN || ($uobj)-> &uo_refs ==  &UVM_OBJ_KERN_INTRSAFE));
    }' unless defined(&UVM_OBJ_IS_KERN_OBJECT);
    eval 'sub UVM_OBJ_IS_INTRSAFE_OBJECT {
        local($uobj) = @_;
	    eval q((($uobj)-> &uo_refs ==  &UVM_OBJ_KERN_INTRSAFE));
    }' unless defined(&UVM_OBJ_IS_INTRSAFE_OBJECT);
}
1;
