Rename ke_* headers to am-*
--HG-- rename : public/amtl/ke_allocator_policies.h => public/amtl/am-allocator-policies.h rename : public/amtl/ke_inline_list.h => public/amtl/am-inline-list.h rename : public/amtl/ke_thread_posix.h => public/amtl/am-thread-posix.h rename : public/amtl/ke_thread_utils.h => public/amtl/am-thread-utils.h rename : public/amtl/ke_thread_windows.h => public/amtl/am-thread-windows.h rename : public/amtl/ke_utility.h => public/amtl/am-utility.h rename : public/amtl/ke_vector.h => public/amtl/am-vector.h
This commit is contained in:
parent
de8726ab73
commit
c373527851
@ -41,7 +41,7 @@
|
||||
#include "sm_memtable.h"
|
||||
#include <IThreader.h>
|
||||
#include <IPluginSys.h>
|
||||
#include <ke_thread_utils.h>
|
||||
#include <am-thread-utils.h>
|
||||
#include "sm_simple_prioqueue.h"
|
||||
|
||||
using namespace SourceHook;
|
||||
|
@ -33,8 +33,8 @@
|
||||
#define _INCLUDE_SOURCEMOD_THREAD_SUPPORT_H
|
||||
|
||||
#include <IThreader.h>
|
||||
#include <ke_thread_utils.h>
|
||||
#include <ke_utility.h>
|
||||
#include <am-thread-utils.h>
|
||||
#include <am-utility.h>
|
||||
|
||||
using namespace SourceMod;
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
||||
#define _INCLUDE_POSIXTHREADS_H_
|
||||
|
||||
#include <pthread.h>
|
||||
#include <ke_thread_utils.h>
|
||||
#include <am-thread-utils.h>
|
||||
#include "IThreader.h"
|
||||
|
||||
using namespace SourceMod;
|
||||
|
@ -39,7 +39,7 @@
|
||||
#include "smsdk_ext.h"
|
||||
#include "sh_list.h"
|
||||
|
||||
#include <ke_thread_utils.h>
|
||||
#include <am-thread-utils.h>
|
||||
|
||||
char * UTIL_strncpy(char * destination, const char * source, size_t num);
|
||||
|
||||
|
@ -34,11 +34,12 @@
|
||||
|
||||
/**
|
||||
* @file IThreader.h
|
||||
* @brief Contains platform independent routines for threading.
|
||||
*
|
||||
* @brief Contains platform independent routines for threading. These tools
|
||||
* should be considered deprecated. Use public/amtl/am-thread-utils.h.
|
||||
*/
|
||||
|
||||
#include <IShareSys.h>
|
||||
#include <ke_thread_utils.h>
|
||||
|
||||
#define SMINTERFACE_THREADER_NAME "IThreader"
|
||||
#define SMINTERFACE_THREADER_VERSION 3
|
||||
|
@ -24,10 +24,16 @@
|
||||
#else
|
||||
# include <pthread.h>
|
||||
#endif
|
||||
#include <ke_utility.h>
|
||||
#include <am-utility.h>
|
||||
|
||||
// Thread primitives for SourcePawn.
|
||||
//
|
||||
// Linking Requirements:
|
||||
//
|
||||
// OS X: None (-lpthread and -ldl are optional)
|
||||
// Windows: None
|
||||
// Linux: -lpthread -lrt required
|
||||
//
|
||||
// -- Mutexes --
|
||||
//
|
||||
// A Lockable is a mutual exclusion primitive. It can be owned by at most one
|
||||
@ -238,9 +244,9 @@ class IRunnable
|
||||
|
||||
// Include the actual thread implementations.
|
||||
#if defined(_MSC_VER)
|
||||
# include "ke_thread_windows.h"
|
||||
# include "am-thread-windows.h"
|
||||
#else
|
||||
# include "ke_thread_posix.h"
|
||||
# include "am-thread-posix.h"
|
||||
#endif
|
||||
|
||||
#endif // _include_sourcepawn_threads_
|
@ -21,8 +21,8 @@
|
||||
|
||||
#include <new>
|
||||
#include <stdlib.h>
|
||||
#include <ke_allocator_policies.h>
|
||||
#include <ke_utility.h>
|
||||
#include <am-allocator-policies.h>
|
||||
#include <am-utility.h>
|
||||
|
||||
namespace ke {
|
||||
|
@ -32,7 +32,7 @@
|
||||
#define _include_sourcepawn_assembler_x86_h__
|
||||
|
||||
#include <assembler.h>
|
||||
#include <ke_vector.h>
|
||||
#include <am-vector.h>
|
||||
#include <string.h>
|
||||
|
||||
struct Register
|
||||
|
@ -32,7 +32,7 @@
|
||||
#define _include_sourcepawn_macroassembler_x86h__
|
||||
|
||||
#include <assembler.h>
|
||||
#include <ke_vector.h>
|
||||
#include <am-vector.h>
|
||||
#include <string.h>
|
||||
#include <assembler-x86.h>
|
||||
|
||||
|
@ -3,8 +3,8 @@
|
||||
#define _INCLUDE_SOURCEPAWN_JIT_RUNTIME_H_
|
||||
|
||||
#include <sp_vm_api.h>
|
||||
#include <ke_vector.h>
|
||||
#include <ke_inline_list.h>
|
||||
#include <am-vector.h>
|
||||
#include <am-inline-list.h>
|
||||
#include "jit_shared.h"
|
||||
#include "sp_vm_function.h"
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#define _INCLUDE_SOURCEPAWN_JIT2_FUNCTION_H_
|
||||
|
||||
#include <sp_vm_types.h>
|
||||
#include <ke_vector.h>
|
||||
#include <am-vector.h>
|
||||
|
||||
struct LoopEdge
|
||||
{
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <ke_thread_utils.h>
|
||||
#include <am-thread-utils.h>
|
||||
|
||||
typedef bool (*WatchdogCallback)();
|
||||
|
||||
|
@ -21,13 +21,13 @@
|
||||
#include <sp_vm_api.h>
|
||||
#include <KeCodeAllocator.h>
|
||||
#include <macro-assembler-x86.h>
|
||||
#include <ke_vector.h>
|
||||
#include <am-vector.h>
|
||||
#include "jit_shared.h"
|
||||
#include "BaseRuntime.h"
|
||||
#include "sp_vm_basecontext.h"
|
||||
#include "jit_function.h"
|
||||
#include "opcodes.h"
|
||||
#include <ke_thread_utils.h>
|
||||
#include <am-thread-utils.h>
|
||||
|
||||
using namespace SourcePawn;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user