// // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo // // The contents of this file are covered under the licence agreement in the // file "LICENCE" distributed with Cforall. // // typeobject.h -- Builtins for hierarchy objects. // // Author : Andrew Beach // Created On : Tus Jul 11 15:08:00 2017 // Last Modified By : Peter A. Buhr // Last Modified On : Sat Jul 22 10:01:48 2017 // Update Count : 1 // #pragma once struct __cfa__type_object { struct __cfa__type_object const * const parent; }; // Takes in two non-null pointers to type_objects. int is_parent( struct __cfa__type_object const * parent, struct __cfa__type_object const * child ); // Local Variables: // // mode: c // // tab-width: 4 // // End: //