Fermat
src
dll.h
1
//
2
//Copyright (c) 2016 NVIDIA Corporation. All rights reserved.
3
//
4
//NVIDIA Corporation and its licensors retain all intellectual property and
5
//proprietary rights in and to this software, related documentation and any
6
//modifications thereto. Any use, reproduction, disclosure or distribution of
7
//this software and related documentation without an express license agreement
8
//from NVIDIA Corporation is strictly prohibited.
9
//
10
//TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THIS SOFTWARE IS PROVIDED
11
//*AS IS* AND NVIDIA AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES, EITHER EXPRESS
12
//OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
13
//MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
14
//NVIDIA OR ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR
15
//CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR
16
//LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS
17
//INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF THE USE OF OR
18
//INABILITY TO USE THIS SOFTWARE, EVEN IF NVIDIA HAS BEEN ADVISED OF THE
19
//POSSIBILITY OF SUCH DAMAGES
20
//
21
22
#pragma once
23
24
#include <stdlib.h>
25
#include <stdint.h>
26
#include <vector>
27
#include <memory>
28
29
struct
DLLImpl
;
30
31
struct
DLL
32
{
33
DLL
();
34
DLL
(
const
char
* filename);
35
~
DLL
();
36
37
void
* get_proc_address(
const
char
* name);
38
39
std::shared_ptr<DLLImpl> m_impl;
40
};
DLLImpl
Definition:
dll.cpp:28
DLL
Definition:
dll.h:31
Generated by
1.8.13