C++ TargetRTS
Loading...
Searching...
No Matches
RTTypeModifier.h
1/*
2 * Licensed Materials - Property of HCL and/or IBM
3 * Copyright HCL Technologies Ltd. 2016, 2021. All Rights Reserved.
4 * Copyright IBM Corporation 1999, 2016. All Rights Reserved.
5 *
6 * U.S. Government Users Restricted Rights - Use, duplication or
7 * disclosure restricted by GSA ADP Schedule.
8 */
9
10#ifndef __RTTypeModifier_h__
11#define __RTTypeModifier_h__ included
12
13#ifdef PRAGMA
14#pragma interface
15#endif
16
17#ifndef __RTConfig_h__
18#include <RTConfig.h>
19#endif
20
21struct RTTypeModifier;
22
23typedef int ( * RTNumberFunction )( const RTTypeModifier *,
24 const void * record );
25
26// This structure is used to describe common type structures
27// more compactly that is possible with just RTObject_class.
28//
29// Field Meaning
30// ----- -------
31
33{
34 RTNumberFunction _num_elements_func;
35 int _num_elements_const; // used only by RTNumberConstant
36 int _indirect;
37};
38
39extern int RTNumberConstant( const RTTypeModifier *, const void * );
40
41#endif // __RTTypeModifier_h__
Definition: RTTypeModifier.h:33