1 | /* Copyright (c) 2001, Stanford University
|
---|
2 | * All rights reserved.
|
---|
3 | *
|
---|
4 | * See the file LICENSE.txt for information on redistributing this software.
|
---|
5 | */
|
---|
6 |
|
---|
7 | #ifndef CR_PACKER_H
|
---|
8 | #define CR_PACKER_H
|
---|
9 |
|
---|
10 | #ifdef DLLDATA
|
---|
11 | #undef DLLDATA
|
---|
12 | #endif
|
---|
13 | #define DLLDATA(type) DECLEXPORT(type)
|
---|
14 |
|
---|
15 | #include <stdio.h> /* for sprintf() */
|
---|
16 | #include "cr_pack.h"
|
---|
17 | #include "cr_packfunctions.h"
|
---|
18 | #include "packer_extensions.h"
|
---|
19 | #include "cr_mem.h"
|
---|
20 |
|
---|
21 | #ifndef IN_RING0
|
---|
22 | extern void __PackError( int line, const char *file, GLenum error, const char *info );
|
---|
23 | #else
|
---|
24 | # define __PackError( line, file, error, info) do { AssertReleaseFailed(); } while (0)
|
---|
25 | #endif
|
---|
26 |
|
---|
27 | #endif /* CR_PACKER_H */
|
---|