YetAnotherCoupler
3.4.0
Loading...
Searching...
No Matches
src
core
location.h
Go to the documentation of this file.
1
// Copyright (c) 2024 The YAC Authors
2
//
3
// SPDX-License-Identifier: BSD-3-Clause
4
5
#ifndef LOCATION_H
6
#define LOCATION_H
7
8
// YAC PUBLIC HEADER START
9
10
#define YAC_MAX_LOC_STR_LEN 10
11
12
enum
yac_location
{
13
14
YAC_LOC_CELL
= 0,
15
YAC_LOC_CORNER
= 1,
16
YAC_LOC_EDGE
= 2,
17
YAC_LOC_UNDEFINED
= 3,
18
};
19
20
enum
yac_location
yac_str2loc
(
char
const
* location);
21
char
const
*
yac_loc2str
(
enum
yac_location
location);
22
enum
yac_location
yac_get_location
(
int
const
location);
23
24
// YAC PUBLIC HEADER STOP
25
26
#endif
// LOCATION_H
27
yac_str2loc
enum yac_location yac_str2loc(char const *location)
Definition
location.c:21
yac_loc2str
char const * yac_loc2str(enum yac_location location)
Definition
location.c:32
yac_get_location
enum yac_location yac_get_location(int const location)
Definition
location.c:44
yac_location
yac_location
Definition
location.h:12
YAC_LOC_CORNER
@ YAC_LOC_CORNER
Definition
location.h:15
YAC_LOC_UNDEFINED
@ YAC_LOC_UNDEFINED
Definition
location.h:17
YAC_LOC_EDGE
@ YAC_LOC_EDGE
Definition
location.h:16
YAC_LOC_CELL
@ YAC_LOC_CELL
Definition
location.h:14
Generated on Mon Sep 16 2024 07:26:17 for YetAnotherCoupler by
1.11.0