IDA C++ SDK 9.2
Loading...
Searching...
No Matches
qida_alloc_shim.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <pro.h>
4
6{
7 static void *allocate(size_t n) noexcept { return qalloc(n); }
8 static void deallocate(void *p) noexcept { qfree(p); }
9};
idaman size_t n
Definition pro.h:1000
This is the first header included in the IDA project.
idaman THREAD_SAFE void ida_export qfree(void *alloc)
System independent free.
idaman THREAD_SAFE void *ida_export qalloc(size_t size)
System independent malloc.
Definition qida_alloc_shim.hpp:6
static void deallocate(void *p) noexcept
Definition qida_alloc_shim.hpp:8
static void * allocate(size_t n) noexcept
Definition qida_alloc_shim.hpp:7