MDL SDK API
Up
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
iallocator.h
Go to the documentation of this file.
1
/***************************************************************************************************
2
* Copyright 2022 NVIDIA Corporation. All rights reserved.
3
**************************************************************************************************/
8
9
#ifndef MI_BASE_IALLOCATOR_H
10
#define MI_BASE_IALLOCATOR_H
11
12
#include <
mi/base/types.h
>
13
#include <
mi/base/iinterface.h
>
14
#include <
mi/base/interface_declare.h
>
15
16
namespace
mi
17
{
18
19
namespace
base
20
{
21
47
class
IAllocator
:
public
48
Interface_declare
<0xa1836db8,0x6f63,0x4079,0x82,0x82,0xb3,0x5d,0x17,0x36,0x96,0xef>
49
{
50
public
:
72
virtual
void
*
malloc
(
Size
size) = 0;
73
82
virtual
void
free
(
void
* memory) = 0;
83
};
84
85
// end group mi_base_iallocator
87
88
}
// namespace base
89
}
// namespace mi
90
91
#endif // MI_BASE_IALLOCATOR_H
5 April 2022, 20:40, rev.358266
© 2022 NVIDIA Corporation.
All rights reserved.