2017-11-24 15:14:10 +01:00
|
|
|
/*
|
|
|
|
* This software is licensed under the terms of the MIT-License
|
|
|
|
* See COPYING for further information.
|
|
|
|
* ---
|
2019-01-23 21:10:43 +01:00
|
|
|
* Copyright (c) 2011-2019, Lukas Weber <laochailan@web.de>.
|
|
|
|
* Copyright (c) 2012-2019, Andrei Alexeyev <akari@alienslab.net>.
|
2017-11-24 15:14:10 +01:00
|
|
|
*/
|
|
|
|
|
2019-01-23 21:10:43 +01:00
|
|
|
#ifndef IGUARD_util_crap_h
|
|
|
|
#define IGUARD_util_crap_h
|
|
|
|
|
2017-11-25 20:45:11 +01:00
|
|
|
#include "taisei.h"
|
2017-11-24 15:14:10 +01:00
|
|
|
|
2018-05-15 02:27:25 +02:00
|
|
|
void* memdup(const void *src, size_t size);
|
2018-10-23 09:51:56 +02:00
|
|
|
void inherit_missing_pointers(uint num, void *dest[num], void *const base[num]);
|
2019-01-09 04:25:10 +01:00
|
|
|
bool is_main_thread(void);
|
2019-01-23 21:10:43 +01:00
|
|
|
|
|
|
|
#endif // IGUARD_util_crap_h
|