|
|
|
@ -256,6 +256,7 @@ gpr_cpu_current_cpu_type gpr_cpu_current_cpu_import; |
|
|
|
|
gpr_log_type gpr_log_import; |
|
|
|
|
gpr_should_log_type gpr_should_log_import; |
|
|
|
|
gpr_log_verbosity_init_type gpr_log_verbosity_init_import; |
|
|
|
|
gpr_set_log_function_type gpr_set_log_function_import; |
|
|
|
|
gpr_format_message_type gpr_format_message_import; |
|
|
|
|
gpr_strdup_type gpr_strdup_import; |
|
|
|
|
gpr_asprintf_type gpr_asprintf_import; |
|
|
|
@ -541,6 +542,7 @@ void grpc_rb_load_imports(HMODULE library) { |
|
|
|
|
gpr_log_import = (gpr_log_type) GetProcAddress(library, "gpr_log"); |
|
|
|
|
gpr_should_log_import = (gpr_should_log_type) GetProcAddress(library, "gpr_should_log"); |
|
|
|
|
gpr_log_verbosity_init_import = (gpr_log_verbosity_init_type) GetProcAddress(library, "gpr_log_verbosity_init"); |
|
|
|
|
gpr_set_log_function_import = (gpr_set_log_function_type) GetProcAddress(library, "gpr_set_log_function"); |
|
|
|
|
gpr_format_message_import = (gpr_format_message_type) GetProcAddress(library, "gpr_format_message"); |
|
|
|
|
gpr_strdup_import = (gpr_strdup_type) GetProcAddress(library, "gpr_strdup"); |
|
|
|
|
gpr_asprintf_import = (gpr_asprintf_type) GetProcAddress(library, "gpr_asprintf"); |
|
|
|
|