HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_CRC.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  */
7 
8 #ifndef __UT_CRC_H__
9 #define __UT_CRC_H__
10 
11 #include "UT_API.h"
12 
14 {
15 public:
16  static unsigned long updateCRC(unsigned long accum, const char *ptr, int size);
17  static unsigned long crc(const char *ptr, int size)
18  { return updateCRC(0, ptr, size); }
19 };
20 
21 #endif
static unsigned long crc(const char *ptr, int size)
Definition: UT_CRC.h:17
#define UT_API
Definition: UT_API.h:14
Definition: UT_CRC.h:13
GLsizeiptr size
Definition: glcorearb.h:664
auto ptr(T p) -> const void *
Definition: format.h:4331