New update! 3.1 is liiiive!
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
This commit is contained in:
35
dlls/arrayx/Array.cpp
Normal file
35
dlls/arrayx/Array.cpp
Normal file
@ -0,0 +1,35 @@
|
||||
#include "amxxmodule.h"
|
||||
#include "ComboArray.h"
|
||||
|
||||
extern AMX_NATIVE_INFO bintrie_exports[];
|
||||
extern AMX_NATIVE_INFO bintrie_usage_exports[];
|
||||
extern ComboArray MasterTrie;
|
||||
|
||||
extern AMX_NATIVE_INFO list_exports[];
|
||||
extern AMX_NATIVE_INFO list_creation_exports[];
|
||||
extern ComboArray MasterList;
|
||||
|
||||
extern AMX_NATIVE_INFO map_exports[];
|
||||
extern AMX_NATIVE_INFO map_creation_exports[];
|
||||
extern ComboArray MasterMap;
|
||||
|
||||
|
||||
void OnAmxxAttach( void )
|
||||
{
|
||||
MF_AddNatives(bintrie_exports);
|
||||
MF_AddNatives(bintrie_usage_exports);
|
||||
|
||||
MF_AddNatives(list_exports);
|
||||
MF_AddNatives(list_creation_exports);
|
||||
|
||||
MF_AddNatives(map_exports);
|
||||
MF_AddNatives(map_creation_exports);
|
||||
|
||||
}
|
||||
|
||||
void OnAmxxDetach( void )
|
||||
{
|
||||
MasterTrie.Clear();
|
||||
MasterList.Clear();
|
||||
MasterMap.Clear();
|
||||
}
|
Reference in New Issue
Block a user