source: src/libcfa/typeobject.h @ 921fe6a

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 921fe6a was 6ea87486, checked in by Andrew Beach <ajbeach@…>, 7 years ago

That should be all the base code for 'tree structures' to work.

  • Property mode set to 100644
File size: 772 bytes
Line 
1//
2// Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
3//
4// The contents of this file are covered under the licence agreement in the
5// file "LICENCE" distributed with Cforall.
6//
7// typeobject.h -- Builtins for hierarchy objects.
8//
9// Author           : Andrew Beach
10// Created On       : Tus Jul 11 15:08:00 2017
11// Last Modified By : Andrew Beach
12// Last Modified On : Tus Jul 11 16:18:00 2017
13// Update Count     : 0
14//
15
16#pragma once
17#ifndef TYPEOBJECT_H
18#define TYPEOBJECT_H
19
20struct __cfa__type_object {
21    struct __cfa__type_object const * const parent;
22};
23
24// Takes in two non-null pointers to type_objects.
25int is_parent( struct __cfa__type_object const * parent,
26               struct __cfa__type_object const * child );
27
28#endif // TYPEOBJECT_H
Note: See TracBrowser for help on using the repository browser.