Graphviz
14.1.2~dev.20260118.1035
Loading...
Searching...
No Matches
extype.c
Go to the documentation of this file.
1
/*************************************************************************
2
* Copyright (c) 2011 AT&T Intellectual Property
3
* All rights reserved. This program and the accompanying materials
4
* are made available under the terms of the Eclipse Public License v1.0
5
* which accompanies this distribution, and is available at
6
* https://www.eclipse.org/legal/epl-v10.html
7
*
8
* Contributors: Details at https://graphviz.org
9
*************************************************************************/
10
11
/*
12
* Glenn Fowler
13
* AT&T Research
14
*
15
* expression library C program generator
16
*/
17
18
#include "config.h"
19
20
#include <
expr/exlib.h
>
21
22
/*
23
* return C type name for type
24
*/
25
26
char
*
extype
(
long
int
type
) {
27
switch
(
type
)
28
{
29
case
FLOATING
:
30
return
"double"
;
31
case
STRING
:
32
return
"char*"
;
33
case
UNSIGNED
:
34
return
"uintmax_t"
;
35
}
36
return
"intmax_t"
;
37
}
exlib.h
UNSIGNED
#define UNSIGNED
Definition
exparse.h:153
FLOATING
#define FLOATING
Definition
exparse.h:155
type
expr procedure type
Definition
exparse.y:208
extype
char * extype(long int type)
Definition
extype.c:26
STRING
#define STRING
Definition
gmlparse.h:133
lib
expr
extype.c
Generated by
1.9.8