php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
Public API

Topics

 XXH32 family
 
 XXH64 family
 
 XXH3 family
 

Macros

#define XXH_PUBLIC_API   /* do nothing */
 
#define XXH_VERSION_MAJOR   0
 
#define XXH_VERSION_MINOR   8
 
#define XXH_VERSION_RELEASE   1
 
#define XXH_VERSION_NUMBER   (XXH_VERSION_MAJOR *100*100 + XXH_VERSION_MINOR *100 + XXH_VERSION_RELEASE)
 

Enumerations

enum  XXH_errorcode { XXH_OK =0 , XXH_ERROR }
 

Functions

XXH_PUBLIC_API unsigned XXH_versionNumber (void)
 Obtains the xxHash version.
 
typedef unsigned long long XXH64_hash_t
 

Detailed Description

Contains details on the public xxHash functions.

Macro Definition Documentation

◆ XXH_PUBLIC_API

#define XXH_PUBLIC_API   /* do nothing */

Definition at line 239 of file xxhash.h.

◆ XXH_VERSION_MAJOR

#define XXH_VERSION_MAJOR   0

Definition at line 323 of file xxhash.h.

◆ XXH_VERSION_MINOR

#define XXH_VERSION_MINOR   8

Definition at line 324 of file xxhash.h.

◆ XXH_VERSION_NUMBER

#define XXH_VERSION_NUMBER   (XXH_VERSION_MAJOR *100*100 + XXH_VERSION_MINOR *100 + XXH_VERSION_RELEASE)

Definition at line 326 of file xxhash.h.

◆ XXH_VERSION_RELEASE

#define XXH_VERSION_RELEASE   1

Definition at line 325 of file xxhash.h.

Typedef Documentation

◆ XXH64_hash_t

typedef unsigned long long XXH64_hash_t

Definition at line 667 of file xxhash.h.

Enumeration Type Documentation

◆ XXH_errorcode

Enumerator
XXH_OK 
XXH_ERROR 

Definition at line 343 of file xxhash.h.

Function Documentation

◆ XXH_versionNumber()

XXH_PUBLIC_API unsigned XXH_versionNumber ( void )

Obtains the xxHash version.

This is mostly useful when xxHash is compiled as a shared library, since the returned value comes from the library, as opposed to header file.

Returns
XXH_VERSION_NUMBER of the invoked library.