FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pythonnet/src/monoclr/pynetclr.h at python3.9 · sdpython/pythonnet · GitHub
This repository was archived by the owner on Jul 22, 2023. It is now read-only.
sdpython
pythonnet
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
pythonnet
/
src
/
monoclr
/
pynetclr.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
40 lines (33 loc) · 821 Bytes
Breadcrumbs
pythonnet
/
src
/
monoclr
/
pynetclr.h
Copy path
File metadata and controls
40 lines (33 loc) · 821 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef
PYNET_CLR_H
#define
PYNET_CLR_H
#include
<Python.h>
#include
<mono/jit/jit.h>
#include
<mono/metadata/environment.h>
#include
<mono/metadata/mono-config.h>
#include
<mono/metadata/debug-helpers.h>
#include
<mono/metadata/assembly.h>
#define
MONO_VERSION
"v4.0.30319.1"
#define
MONO_DOMAIN
"Python.Runtime"
#define
PR_ASSEMBLY
"Python.Runtime.dll"
#ifdef
__cplusplus
extern
"C"
{
#endif
typedef
struct
{
MonoDomain
*
domain
;
MonoAssembly
*
pr_assm
;
MonoMethod
*
shutdown
;
char
*
pr_file
;
char
*
error
;
char
*
init_name
;
char
*
shutdown_name
;
PyObject
*
module
;
}
PyNet_Args
;
PyNet_Args
*
PyNet_Init
(
int
);
void
PyNet_Finalize
(
PyNet_Args
*
);
void
main_thread_handler
(
PyNet_Args
*
user_data
);
char
*
PyNet_ExceptionToString
(
MonoObject
*
);
#ifdef
__cplusplus
}
#endif
#endif
// PYNET_CLR_H
Back
|
FazBrowse Home
|
New Git URL