Skip to content
This repository was archived by the owner on Oct 28, 2019. It is now read-only.

Commit f2e0067

Browse files
committed
Support IL2CPP
1 parent 1ac26bf commit f2e0067

File tree

2 files changed

+192
-0
lines changed

2 files changed

+192
-0
lines changed
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
2+
// When using IL2CPP, Unity still tries to link with the static grpc library even if the DLL will be used.
3+
// This file creates dummy functions just to please the linker.
4+
5+
void grpcsharp_init() {}
6+
void grpcsharp_shutdown() {}
7+
void grpcsharp_version_string() {}
8+
void grpcsharp_batch_context_create() {}
9+
void grpcsharp_batch_context_recv_initial_metadata() {}
10+
void grpcsharp_batch_context_recv_message_length() {}
11+
void grpcsharp_batch_context_recv_message_to_buffer() {}
12+
void grpcsharp_batch_context_recv_status_on_client_status() {}
13+
void grpcsharp_batch_context_recv_status_on_client_details() {}
14+
void grpcsharp_batch_context_recv_status_on_client_trailing_metadata() {}
15+
void grpcsharp_batch_context_recv_close_on_server_cancelled() {}
16+
void grpcsharp_batch_context_reset() {}
17+
void grpcsharp_batch_context_destroy() {}
18+
void grpcsharp_request_call_context_create() {}
19+
void grpcsharp_request_call_context_call() {}
20+
void grpcsharp_request_call_context_method() {}
21+
void grpcsharp_request_call_context_host() {}
22+
void grpcsharp_request_call_context_deadline() {}
23+
void grpcsharp_request_call_context_request_metadata() {}
24+
void grpcsharp_request_call_context_reset() {}
25+
void grpcsharp_request_call_context_destroy() {}
26+
void grpcsharp_composite_call_credentials_create() {}
27+
void grpcsharp_call_credentials_release() {}
28+
void grpcsharp_call_cancel() {}
29+
void grpcsharp_call_cancel_with_status() {}
30+
void grpcsharp_call_start_unary() {}
31+
void grpcsharp_call_start_client_streaming() {}
32+
void grpcsharp_call_start_server_streaming() {}
33+
void grpcsharp_call_start_duplex_streaming() {}
34+
void grpcsharp_call_send_message() {}
35+
void grpcsharp_call_send_close_from_client() {}
36+
void grpcsharp_call_send_status_from_server() {}
37+
void grpcsharp_call_recv_message() {}
38+
void grpcsharp_call_recv_initial_metadata() {}
39+
void grpcsharp_call_start_serverside() {}
40+
void grpcsharp_call_send_initial_metadata() {}
41+
void grpcsharp_call_set_credentials() {}
42+
void grpcsharp_call_get_peer() {}
43+
void grpcsharp_call_destroy() {}
44+
void grpcsharp_channel_args_create() {}
45+
void grpcsharp_channel_args_set_string() {}
46+
void grpcsharp_channel_args_set_integer() {}
47+
void grpcsharp_channel_args_destroy() {}
48+
void grpcsharp_override_default_ssl_roots() {}
49+
void grpcsharp_ssl_credentials_create() {}
50+
void grpcsharp_composite_channel_credentials_create() {}
51+
void grpcsharp_channel_credentials_release() {}
52+
void grpcsharp_insecure_channel_create() {}
53+
void grpcsharp_secure_channel_create() {}
54+
void grpcsharp_channel_create_call() {}
55+
void grpcsharp_channel_check_connectivity_state() {}
56+
void grpcsharp_channel_watch_connectivity_state() {}
57+
void grpcsharp_channel_get_target() {}
58+
void grpcsharp_channel_destroy() {}
59+
void grpcsharp_sizeof_grpc_event() {}
60+
void grpcsharp_completion_queue_create_async() {}
61+
void grpcsharp_completion_queue_create_sync() {}
62+
void grpcsharp_completion_queue_shutdown() {}
63+
void grpcsharp_completion_queue_next() {}
64+
void grpcsharp_completion_queue_pluck() {}
65+
void grpcsharp_completion_queue_destroy() {}
66+
void gprsharp_free() {}
67+
void grpcsharp_metadata_array_create() {}
68+
void grpcsharp_metadata_array_add() {}
69+
void grpcsharp_metadata_array_count() {}
70+
void grpcsharp_metadata_array_get_key() {}
71+
void grpcsharp_metadata_array_get_value() {}
72+
void grpcsharp_metadata_array_destroy_full() {}
73+
void grpcsharp_redirect_log() {}
74+
void grpcsharp_metadata_credentials_create_from_plugin() {}
75+
void grpcsharp_metadata_credentials_notify_from_plugin() {}
76+
void grpcsharp_ssl_server_credentials_create() {}
77+
void grpcsharp_server_credentials_release() {}
78+
void grpcsharp_server_create() {}
79+
void grpcsharp_server_register_completion_queue() {}
80+
void grpcsharp_server_add_insecure_http2_port() {}
81+
void grpcsharp_server_add_secure_http2_port() {}
82+
void grpcsharp_server_start() {}
83+
void grpcsharp_server_request_call() {}
84+
void grpcsharp_server_cancel_all_calls() {}
85+
void grpcsharp_server_shutdown_and_notify_callback() {}
86+
void grpcsharp_server_destroy() {}
87+
void grpcsharp_call_auth_context() {}
88+
void grpcsharp_auth_context_peer_identity_property_name() {}
89+
void grpcsharp_auth_context_property_iterator() {}
90+
void grpcsharp_auth_property_iterator_next() {}
91+
void grpcsharp_auth_context_release() {}
92+
void gprsharp_now() {}
93+
void gprsharp_inf_future() {}
94+
void gprsharp_inf_past() {}
95+
void gprsharp_convert_clock_type() {}
96+
void gprsharp_sizeof_timespec() {}
97+
void grpcsharp_test_callback() {}
98+
void grpcsharp_test_nop() {}
99+
void grpcsharp_test_override_method() {}

Plugins/Grpc.Core/runtimes/grpc_csharp_ext_stub.c.meta

Lines changed: 93 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)