Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
clingwrapper.h
Go to the documentation of this file.
1#ifndef CPPYY_CLINGCWRAPPER
2#define CPPYY_CLINGCWRAPPER
3
4#include "capi.h"
5
6#ifdef __cplusplus
7extern "C" {
8#endif // ifdef __cplusplus
9
10 /* misc helpers */
11 void* cppyy_load_dictionary(const char* lib_name);
12
13#ifdef __cplusplus
14}
15#endif // ifdef __cplusplus
16
17// TODO: pick up from llvm-config --cxxflags
18#ifndef _GNU_SOURCE
19#define _GNU_SOURCE
20#endif
21
22#ifndef __STDC_CONSTANT_MACROS
23#define __STDC_CONSTANT_MACROS
24#endif
25
26#ifndef __STDC_FORMAT_MACROS
27#define __STDC_FORMAT_MACROS
28#endif
29
30#ifndef __STDC_LIMIT_MACROS
31#define __STDC_LIMIT_MACROS
32#endif
33
34// Wrapper callback: except this to become available from Cling directly
35typedef void (*CPPYY_Cling_Wrapper_t)(void*, int, void**, void*);
36
37#endif // ifndef CPPYY_CLINGCWRAPPER
void * cppyy_load_dictionary(const char *lib_name)
void(* CPPYY_Cling_Wrapper_t)(void *, int, void **, void *)