aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/deprecated/galloc/malloc_hook.h
blob: 1e109180b629709125ca0ea344f3c935c4013a4a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

class MallocHook {
    public:
        typedef void (*NewHook)(void* ptr, size_t size);
        typedef void (*DeleteHook)(void* ptr);

        inline static void InvokeNewHook(void*, size_t) {
        }

        inline static void InvokeDeleteHook(void*) {
        }
};