Remove some SourceMod namespace.

This commit is contained in:
Arkshine 2014-08-10 22:25:14 +02:00
parent 1ae40316a8
commit 41f6932b68
9 changed files with 7 additions and 21 deletions

View File

@ -35,8 +35,6 @@
#include <ITextParsers.h>
#include <am-vector.h>
using namespace SourceMod;
/**
* @param void * IN: Stream pointer
* @param char * IN/OUT: Stream buffer

View File

@ -14,8 +14,6 @@
#include "amxmodx.h"
#include "trie_natives.h"
using namespace SourceMod;
TrieHandles<CellTrie> g_TrieHandles;
TrieHandles<TrieSnapshot> g_TrieSnapshotHandles;

View File

@ -15,8 +15,6 @@
#include <sm_memtable.h>
#include "CVector.h"
using namespace SourceMod;
enum EntryType
{
EntryType_Cell,

View File

@ -16,8 +16,6 @@
#include "CDetour/detours.h"
#include <sm_stringhashmap.h>
using namespace SourceMod; // hashmap
void CtrlDetours_ClientCommand(bool set);
void CtrlDetours_BuyCommands(bool set);

View File

@ -19,8 +19,6 @@
#include <sm_stringhashmap.h>
#include <am-string.h>
using namespace SourceMod;
enum JOp
{
Journal_Nop=0, //no operation

View File

@ -19,8 +19,6 @@
#include "IVault.h"
#include "Journal.h"
using namespace SourceMod;
#define VAULT_MAGIC 0x6E564C54 //nVLT
#define VAULT_VERSION 0x0200 //second version

View File

@ -16,8 +16,6 @@
#include "NVault.h"
#include <sm_queue.h>
using namespace SourceMod;
#ifdef WIN32
#define MKDIR(p) mkdir(p)
#else

View File

@ -36,8 +36,8 @@
* @file ITextParsers.h
* @brief Defines various text/file parsing functions, as well as UTF-8 support code.
*/
namespace SourceMod
{
//namespace SourceMod
//{
#define SMINTERFACE_TEXTPARSERS_NAME "ITextParsers"
#define SMINTERFACE_TEXTPARSERS_VERSION 4
@ -450,9 +450,9 @@ namespace SourceMod
}
return 1;
}
}
//}
extern SourceMod::ITextParsers *textparsers;
extern ITextParsers *textparsers;
#endif //_INCLUDE_SOURCEMOD_TEXTPARSERS_INTERFACE_H_

View File

@ -50,8 +50,8 @@
#include <am-moveable.h>
#include <string.h>
namespace SourceMod
{
//namespace SourceMod
//{
namespace detail
{
@ -236,6 +236,6 @@ private:
size_t memory_used_;
};
}
//}
#endif // _include_sourcemod_hashtable_h_