acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
_setup.h
1
//
2
// _setup.h
3
// acme
4
//
5
// Created by Camilo Sasuke Thomas Borregaard Soerensen on 24/04/20.
6
//
7
8
9
#pragma once
10
11
12
#ifdef __cplusplus
13
14
#if !defined(__OBJC__)
15
16
#define cplusplus
17
18
#endif
19
20
#endif
21
22
23
24
25
#ifndef __UNREFERENCED_PARAMETER
26
#define __UNREFERENCED_PARAMETER(u) (void)(u)
27
#endif
28
#if ! defined(lint)
29
//#define __UNREFERENCED_PARAMETER(P) (P)
30
#define __DBG_UNREFERENCED_PARAMETER(P) (P)
31
#define __DBG_UNREFERENCED_LOCAL_VARIABLE(V) (V)
32
33
#else
// lint
34
35
// Note: lint -e530 says don't complain about uninitialized variables for
36
// this varible. Error 527 has to do with unreachable code.
37
// -restore restores checking to the -save state
38
39
#define __UNREFERENCED_PARAMETER(P) \
40
/*lint -save -e527 -e530 */
\
41
{ \
42
(P) = (P); \
43
} \
44
/*lint -restore */
45
#define __DBG_UNREFERENCED_PARAMETER(P) \
46
/*lint -save -e527 -e530 */
\
47
{ \
48
(P) = (P); \
49
} \
50
/*lint -restore */
51
#define __DBG_UNREFERENCED_LOCAL_VARIABLE(V) \
52
/*lint -save -e527 -e530 */
\
53
{ \
54
(V) = (V); \
55
} \
56
/*lint -restore */
57
58
#endif
// lint
59
include
_setup.h
Generated by
1.17.0