Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 0 additions & 38 deletions include/hx/Unordered.h

This file was deleted.

1 change: 0 additions & 1 deletion src/String.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include <stdlib.h>
#include <set>
#include <string>
#include <hx/Unordered.h>
#include "hx/Hash.h"
#include <hx/Thread.h>
#include <locale>
Expand Down
4 changes: 2 additions & 2 deletions src/hx/Debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#include <hx/Debug.h>
#include <hx/Thread.h>
#include <hx/Telemetry.h>
#include <hx/Unordered.h>
#include <hx/thread/Thread.hpp>
#include <hx/OS.h>
#include <unordered_map>
#include <mutex>


Expand Down Expand Up @@ -48,7 +48,7 @@ const char* EXTERN_CLASS_NAME = "extern";

#ifdef HXCPP_STACK_IDS
static std::mutex sStackMapMutex;
typedef UnorderedMap<int, StackContext *> StackMap;
typedef std::unordered_map<int, StackContext *> StackMap;
static StackMap sStackMap;
#endif

Expand Down
1 change: 0 additions & 1 deletion src/hx/cppia/Cppia.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include <hxcpp.h>
#include <hx/Scriptable.h>
#include <hx/GC.h>
#include <hx/Unordered.h>
#include <stdio.h>
#include <vector>
#include <string>
Expand Down
6 changes: 3 additions & 3 deletions src/hx/cppia/Cppia.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include <hx/Scriptable.h>
#include <hx/GC.h>
#include <hx/Unordered.h>
#include <unordered_set>
#include <stdio.h>
#include <vector>
#include <string>
Expand Down Expand Up @@ -372,7 +372,7 @@ class CppiaModule
std::vector< TypeData * > types;
std::vector< CppiaClassInfo * > classes;
std::vector< CppiaExpr * > markable;
hx::UnorderedSet<int> allFileIds;
std::unordered_set<int> allFileIds;
typedef std::map< std::string, int > InterfaceSlots;
InterfaceSlots interfaceSlots;

Expand Down Expand Up @@ -601,7 +601,7 @@ class HaxeNativeClass
static void link();
#ifndef NATIVE_CLASS_OVERRIDES_MARKED
private:
void addVtableEntries( std::vector<std::string> &outVtable, hx::UnorderedSet<std::string> &outMethodsSet);
void addVtableEntries( std::vector<std::string> &outVtable, std::unordered_set<std::string> &outMethodsSet);
#endif
};

Expand Down
2 changes: 1 addition & 1 deletion src/hx/cppia/CppiaModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ void CppiaModule::registerDebugger()
addScriptableClass( scriptable.makePermanent().utf8_str() );
}

for(hx::UnorderedSet<int>::const_iterator i = allFileIds.begin(); i!=allFileIds.end(); ++i)
for(std::unordered_set<int>::const_iterator i = allFileIds.begin(); i!=allFileIds.end(); ++i)
addScriptableFile(strings[*i]);

#if (HXCPP_API_LEVEL >= 500)
Expand Down
4 changes: 2 additions & 2 deletions src/hx/cppia/HaxeNative.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ void HaxeNativeClass::addVtableEntries( std::vector<std::string> &outVtable)
}
#else
void HaxeNativeClass::addVtableEntries(std::vector<std::string>& outVtable) {
hx::UnorderedSet<std::string> methodsSet;
std::unordered_set<std::string> methodsSet;
addVtableEntries(outVtable, methodsSet);
}

void HaxeNativeClass::addVtableEntries( std::vector<std::string> &outVtable, hx::UnorderedSet<std::string>& outMethodsSet)
void HaxeNativeClass::addVtableEntries( std::vector<std::string> &outVtable, std::unordered_set<std::string>& outMethodsSet)
{
if (haxeSuper)
haxeSuper->addVtableEntries(outVtable, outMethodsSet);
Expand Down
17 changes: 9 additions & 8 deletions src/hx/gc/Immix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
#include <hx/thread/Thread.hpp>
#include "../Hash.h"
#include "GcRegCapture.h"
#include <hx/Unordered.h>
#include <unordered_set>
#include <unordered_map>
#include <mutex>
#include <thread>
#include <condition_variable>
Expand Down Expand Up @@ -47,7 +48,7 @@ namespace hx
#ifdef HXCPP_GC_DEBUG_ALWAYS_MOVE

enum { gAlwaysMove = true };
typedef hx::UnorderedSet<void *> PointerMovedSet;
typedef std::unordered_set<void *> PointerMovedSet;
PointerMovedSet sgPointerMoved;

#else
Expand Down Expand Up @@ -2374,10 +2375,10 @@ void MarkStringArray(String *inPtr, int inLength, hx::MarkContext *__inCtx)
// --- Roots -------------------------------

FILE_SCOPE std::mutex* sGCRootLock = nullptr;
typedef hx::UnorderedSet<hx::Object **> RootSet;
typedef std::unordered_set<hx::Object **> RootSet;
static RootSet sgRootSet;

typedef hx::UnorderedMap<void *,int> OffsetRootSet;
typedef std::unordered_map<void *,int> OffsetRootSet;
static OffsetRootSet *sgOffsetRootSet=0;

void GCAddRoot(hx::Object **inRoot)
Expand Down Expand Up @@ -2456,20 +2457,20 @@ typedef hx::QuickVec<InternalFinalizer *> FinalizerList;

FILE_SCOPE FinalizerList *sgFinalizers = 0;

typedef hx::UnorderedMap<hx::Object *,hx::finalizer> FinalizerMap;
typedef std::unordered_map<hx::Object *,hx::finalizer> FinalizerMap;
FILE_SCOPE FinalizerMap sFinalizerMap;

typedef void (*HaxeFinalizer)(Dynamic);
typedef hx::UnorderedMap<hx::Object *,HaxeFinalizer> HaxeFinalizerMap;
typedef std::unordered_map<hx::Object *,HaxeFinalizer> HaxeFinalizerMap;
FILE_SCOPE HaxeFinalizerMap sHaxeFinalizerMap;

hx::QuickVec<int> sFreeObjectIds;
typedef hx::UnorderedMap<hx::Object *,int> ObjectIdMap;
typedef std::unordered_map<hx::Object *,int> ObjectIdMap;
typedef hx::QuickVec<hx::Object *> IdObjectMap;
FILE_SCOPE ObjectIdMap sObjectIdMap;
FILE_SCOPE IdObjectMap sIdObjectMap;

typedef hx::UnorderedSet<hx::Object *> MakeZombieSet;
typedef std::unordered_set<hx::Object *> MakeZombieSet;
FILE_SCOPE MakeZombieSet sMakeZombieSet;

typedef hx::QuickVec<hx::Object *> ZombieList;
Expand Down
1 change: 0 additions & 1 deletion toolchain/haxe-target.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
<depend name="${HXCPP}/include/hx/OS.h"/>
<depend name="${HXCPP}/include/hx/ObjcHelpers.h"/>
<depend name="${HXCPP}/include/hx/HeaderVersion.h"/>
<depend name="${HXCPP}/include/hx/Unordered.h"/>
<depend name="${HXCPP}/include/hx/LessThanEq.h"/>
<depend name="${HXCPP}/include/hx/Interface.h"/>
<depend name="${HXCPP}/include/cpp/Pointer.h"/>
Expand Down
Loading