source: src/libcfa/typeobject.h@ 21a5dde1

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors deferred_resn demangler enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new with_gc
Last change on this file since 21a5dde1 was 6ea87486, checked in by Andrew Beach <ajbeach@…>, 8 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.