File: var_def_gap.cpp

package info (click to toggle)
uncrustify 0.68.1%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 18,000 kB
  • sloc: cpp: 56,567; ansic: 19,840; cs: 3,097; python: 2,717; objc: 1,650; java: 510; sh: 390; awk: 150; perl: 63; makefile: 7
file content (27 lines) | stat: -rw-r--r-- 708 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#define A                   -3
#define B            163
#define C     2

void foo()
{
    const std::string   &targetName1         = pEntry->getTargetName();
    const Point3d_t      currentPosition1 = pSatOrbit->GetPositionAtTime(jdNow);
}

void foo2()
{
    const std::string  ** targetName2 = pEntry->getTargetName();
    const Point3d_t       currentPosition2 = pSatOrbit->GetPositionAtTime(jdNow);
}

void foo2()
{
    const std::string**     targetName3 = pEntry->getTargetName();
    const Point3d_t       currentPosition3 = pSatOrbit->GetPositionAtTime(jdNow);
}

typedef int     MY_INT;
typedef int    *MY_INTP;
typedef int   (*foo_t)(void *bar);
typedef int   (*somefunc_t)(void *barstool);