source: src/libcfa/typeobject.h @ 6b0b624

aaron-thesisarm-ehcleanup-dtorsdeferred_resndemanglerjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerresolv-newwith_gc
Last change on this file since 6b0b624 was 6b0b624, checked in by Peter A. Buhr <pabuhr@…>, 4 years ago

change #ifndef to #pragma once

  • Property mode set to 100644
File size: 775 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 : Peter A. Buhr
12// Last Modified On : Sat Jul 22 10:01:48 2017
13// Update Count     : 1
14//
15
16#pragma once
17
18struct __cfa__type_object {
19    struct __cfa__type_object const * const parent;
20};
21
22// Takes in two non-null pointers to type_objects.
23int is_parent( struct __cfa__type_object const * parent,
24               struct __cfa__type_object const * child );
25
26// Local Variables: //
27// mode: c //
28// tab-width: 4 //
29// End: //
Note: See TracBrowser for help on using the repository browser.