projects
/
yazproxy-moved-to-github.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added test program for the use of CDetails object from USEMARCON.
[yazproxy-moved-to-github.git]
/
src
/
cdetails.cpp
1
#include <stdlib.h>
2
#include <stdio.h>
3
#include <yaz/nmem.h>
4
5
#if HAVE_USEMARCON
6
#include <objectlist.h>
7
8
CDetails *x(CDetails *p)
9
{
10
return p;
11
}
12
#endif
13
14
int main(int argc, char **argv)
15
{
16
#if HAVE_USEMARCON
17
CDetails local;
18
CDetails *ptr = new CDetails();
19
20
x(&local);
21
x(ptr);
22
23
delete ptr;
24
#endif
25
exit(0);
26
}