PostGIS
3.4.0dev-r@@SVN_REVISION@@
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
c
d
f
g
i
l
m
p
q
w
Variables
a
b
c
d
f
g
h
i
l
n
o
p
r
s
t
u
v
x
y
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
Properties
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
g
h
i
l
m
n
o
p
r
s
t
v
w
y
Typedefs
_
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
y
Enumerations
Enumerator
a
c
d
e
f
g
i
j
l
m
p
r
s
t
u
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Pages
◆
assert_string_equal_impl()
static void assert_string_equal_impl
(
const char *
obtained
,
const char *
expected
,
const char *
file
,
int
line
)
inline
static
Definition at line
77
of file
liblwgeom/cunit/cu_tester.h
.
78
{
79
CU_BOOL error = (!obtained && expected) || (obtained && !expected) || (strcmp(obtained, expected) != 0);
80
char
*msg = NULL;
81
if
(error)
82
{
83
msg =
lwalloc
(60 + (obtained ? strlen(obtained) : 4) + (expected ? strlen(expected) : 4));
84
sprintf(msg,
85
"ASSERT_STRING_EQUAL\n\t* Expected: %s\n\t* Obtained: %s"
,
86
expected ? expected :
"NULL"
,
87
obtained ? obtained :
"NULL"
);
88
}
89
CU_assertImplementation(!error, line, msg, file, NULL, CU_FALSE);
90
if
(msg)
91
lwfree
(msg);
92
}
lwfree
void lwfree(void *mem)
Definition:
lwutil.c:242
lwalloc
void * lwalloc(size_t size)
Definition:
lwutil.c:227
References
lwalloc()
, and
lwfree()
.
Here is the call graph for this function:
liblwgeom
cunit
cu_tester.h
Generated by
1.9.1