Update year for documentation
[yazproxy-moved-to-github.git] / src / cdetails.cpp
1 /* This file is part of YAZ proxy
2    Copyright (C) 1998-2011 Index Data
3
4 YAZ proxy is free software; you can redistribute it and/or modify it under
5 the terms of the GNU General Public License as published by the Free
6 Software Foundation; either version 2, or (at your option) any later
7 version.
8
9 YAZ proxy is distributed in the hope that it will be useful, but WITHOUT ANY
10 WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12 for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
17 */
18 #include <stdlib.h>
19 #include <stdio.h>
20
21 #if HAVE_USEMARCON
22 #include <objectlist.h>
23
24 CDetails *x(CDetails *p)
25 {
26     return p;
27 }
28 #endif
29
30 int main(int argc, char **argv)
31 {
32 #if HAVE_USEMARCON
33     CDetails local;
34     CDetails *ptr = new CDetails();
35
36     x(&local);
37     x(ptr);
38
39     delete ptr;
40 #endif
41     exit(0);
42 }
43 /*
44  * Local variables:
45  * c-basic-offset: 4
46  * c-file-style: "Stroustrup"
47  * indent-tabs-mode: nil
48  * End:
49  * vim: shiftwidth=4 tabstop=8 expandtab
50  */
51