-
Notifications
You must be signed in to change notification settings - Fork 2
V0.1beta #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
V0.1beta #1
Changes from 1 commit
acab2e9
c3a13f7
16bee6f
d713f90
2b6c287
0c16754
6186cf5
e2b7093
79edeac
7ac5977
6546120
aa1dae8
e02eb1a
2308892
be1266d
b6760b6
32ed3db
f553100
de701e0
28a3cd4
d23bf34
4380931
ef42892
c79e4eb
6583cea
21ad902
2545927
ff24548
b27a050
926300c
e4b36f9
bf0dd61
b2ae2f0
65ded2b
5af64f6
cdd8af5
b154db3
58807b3
d00dc95
9caefa1
9206070
89f0819
ca369d3
51888af
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -33,6 +33,8 @@ public struct NativeCallbacks | |
| public IntPtr NativeXMLCallback; | ||
| } | ||
|
|
||
| public static NativeCallbacks i_callbacks; | ||
|
|
||
| // This is the only predefined entry point, this must match what mod_coreclr.c is looking for | ||
| public static NativeCallbacks Load() | ||
| { | ||
|
|
@@ -42,12 +44,14 @@ public static NativeCallbacks Load() | |
| //PluginsContainer.LoadPluginsFromSubDirs(myLocation); | ||
|
|
||
| // Return the marshalled callbacks for the native interfaces | ||
| return new NativeCallbacks | ||
| i_callbacks = new NativeCallbacks | ||
|
||
| { | ||
| NativeAPICallback = Marshal.GetFunctionPointerForDelegate<NativeAPICallback>(NativeAPIHandler), | ||
|
||
| NativeAPPCallback = Marshal.GetFunctionPointerForDelegate<NativeAPPCallback>(NativeAPPHandler), | ||
| NativeXMLCallback = Marshal.GetFunctionPointerForDelegate<NativeXMLCallback>(NativeXMLHandler) | ||
| }; | ||
|
|
||
| return i_callbacks; | ||
| } | ||
|
|
||
| // The Managed API interface callback delegate | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add:
public static NativeAPICallback APICallback = null;
etc for each of the 3.