NetSurf
datatypes.c
Go to the documentation of this file.
1/*
2 * Copyright 2011 Chris Young <chris@unsatisfactorysoftware.co.uk>
3 *
4 * This file is part of NetSurf, http://www.netsurf-browser.org/
5 *
6 * NetSurf is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * NetSurf is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#ifdef WITH_AMIGA_DATATYPES
20#include "amiga/datatypes.h"
21
23{
24 nserror err = NSERROR_OK;
25
26 err = amiga_dt_picture_init();
27 if(err != NSERROR_OK) return err;
28
29#ifdef WITH_DTANIM
30 err = amiga_dt_anim_init();
31 if(err != NSERROR_OK) return err;
32#endif
33
34 err = amiga_dt_sound_init();
35 if(err != NSERROR_OK) return err;
36
37 return NSERROR_OK;
38}
39
40#endif
#define amiga_datatypes_init()
Definition: datatypes.h:37
nserror
Enumeration of error codes.
Definition: errors.h:29
@ NSERROR_OK
No error.
Definition: errors.h:30