summaryrefslogtreecommitdiffstats
path: root/src/VBox/GuestHost/OpenGL/packer/packer.h
blob: f70a5bb43ae35ae03fe36ea4b45f945c9bcd8abf (plain)
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
/* Copyright (c) 2001, Stanford University
 * All rights reserved.
 *
 * See the file LICENSE.txt for information on redistributing this software.
 */

#ifndef CR_PACKER_H
#define CR_PACKER_H

#ifdef DLLDATA
#undef DLLDATA
#endif
#define DLLDATA(type) DECLEXPORT(type)

#include <stdio.h>  /* for sprintf() */
#include "cr_pack.h"
#include "cr_packfunctions.h"
#include "packer_extensions.h"
#include "cr_mem.h"

#ifndef IN_RING0
extern void __PackError( int line, const char *file, GLenum error, const char *info );
#else
# define __PackError( line, file, error, info) do { AssertReleaseFailed(); } while (0)
#endif

#endif /* CR_PACKER_H */