mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-27 07:15:37 +03:00
5c88803942
Error handling: Array now has sufficiently advanced error handling to remove most, if not all, disable_checks. Extention: With the metaprogramming techniques, new types can be added easily. Speed: With the new changes I've made to Judy, the Array module has far exceeded the speed of any traditional datatype
44 lines
587 B
C
44 lines
587 B
C
#ifndef _JUDYINC_INCLUDED
|
|
#define _JUDYINC_INCLUDED
|
|
|
|
#include "osdefs.h"
|
|
//#include <extdll.h>
|
|
|
|
#ifndef __linux__
|
|
#define JU_WIN
|
|
#endif
|
|
|
|
#ifdef __WIN32__
|
|
#define JU_WIN
|
|
#endif
|
|
|
|
#define JUDYERROR_NOTEST 1
|
|
#include "Judy.h"
|
|
|
|
#ifdef __GNUC__
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
#include <dirent.h>
|
|
#endif
|
|
|
|
#ifdef __linux__
|
|
#include <unistd.h>
|
|
#else
|
|
#define WINDOWS_LEAN_AND_MEAN
|
|
#include <windows.h>
|
|
#include <io.h>
|
|
#endif
|
|
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
|
|
#include "amxxmodule.h"
|
|
|
|
#include "JudyVar.h"
|
|
#include "JudyVec.h"
|
|
#include "JudyEx.h"
|
|
|
|
#include "Capsule.h"
|
|
|
|
#endif
|