|
|
@ -25,10 +25,11 @@ distribution.
|
|
|
|
#pragma once
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
#include <deque>
|
|
|
|
#include <deque>
|
|
|
|
#include <string>
|
|
|
|
#include <map>
|
|
|
|
|
|
|
|
#include <mutex>
|
|
|
|
#include <sstream>
|
|
|
|
#include <sstream>
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
#include <vector>
|
|
|
|
#include <map>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "DataDefs.h"
|
|
|
|
#include "DataDefs.h"
|
|
|
|
|
|
|
|
|
|
|
@ -570,6 +571,11 @@ namespace df
|
|
|
|
static opaque_identity *get() { return &identity; }
|
|
|
|
static opaque_identity *get() { return &identity; }
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
template<> struct DFHACK_EXPORT identity_traits<std::mutex> {
|
|
|
|
|
|
|
|
static opaque_identity identity;
|
|
|
|
|
|
|
|
static opaque_identity *get() { return &identity; }
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
template<> struct DFHACK_EXPORT identity_traits<char*> {
|
|
|
|
template<> struct DFHACK_EXPORT identity_traits<char*> {
|
|
|
|
static ptr_string_identity identity;
|
|
|
|
static ptr_string_identity identity;
|
|
|
|
static ptr_string_identity *get() { return &identity; }
|
|
|
|
static ptr_string_identity *get() { return &identity; }
|
|
|
|