Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
c9562b6c
Commit
c9562b6c
authored
10 years ago
by
Jan Tattermusch
Browse files
Options
Downloads
Patches
Plain Diff
fixes in extension library
parent
86a249f6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/csharp/ext/grpc_csharp_ext.c
+8
-10
8 additions, 10 deletions
src/csharp/ext/grpc_csharp_ext.c
with
8 additions
and
10 deletions
src/csharp/ext/grpc_csharp_ext.c
+
8
−
10
View file @
c9562b6c
...
@@ -63,7 +63,7 @@ GPR_EXPORT grpc_completion_type GPR_CALLTYPE grpcsharp_completion_queue_next_wit
...
@@ -63,7 +63,7 @@ GPR_EXPORT grpc_completion_type GPR_CALLTYPE grpcsharp_completion_queue_next_wit
grpc_completion_queue
*
cq
)
{
grpc_completion_queue
*
cq
)
{
grpc_event
*
ev
;
grpc_event
*
ev
;
grpc_completion_type
t
;
grpc_completion_type
t
;
void
(
*
callback
)(
grpc_event
*
);
void
(
GPR_CALLTYPE
*
callback
)(
grpc_event
*
);
ev
=
grpc_completion_queue_next
(
cq
,
gpr_inf_future
);
ev
=
grpc_completion_queue_next
(
cq
,
gpr_inf_future
);
t
=
ev
->
type
;
t
=
ev
->
type
;
...
@@ -72,7 +72,7 @@ GPR_EXPORT grpc_completion_type GPR_CALLTYPE grpcsharp_completion_queue_next_wit
...
@@ -72,7 +72,7 @@ GPR_EXPORT grpc_completion_type GPR_CALLTYPE grpcsharp_completion_queue_next_wit
/* C forbids to cast object pointers to function pointers, so
/* C forbids to cast object pointers to function pointers, so
* we cast to intptr first.
* we cast to intptr first.
*/
*/
callback
=
(
void
(
*
)(
grpc_event
*
))(
gpr_intptr
)
ev
->
tag
;
callback
=
(
void
(
GPR_CALLTYPE
*
)(
grpc_event
*
))(
gpr_intptr
)
ev
->
tag
;
(
*
callback
)(
ev
);
(
*
callback
)(
ev
);
}
}
grpc_event_finish
(
ev
);
grpc_event_finish
(
ev
);
...
@@ -258,16 +258,14 @@ GPR_EXPORT void GPR_CALLTYPE grpcsharp_call_start_write_from_copied_buffer(
...
@@ -258,16 +258,14 @@ GPR_EXPORT void GPR_CALLTYPE grpcsharp_call_start_write_from_copied_buffer(
/* Server */
/* Server */
GPR_EXPORT
grpc_call_error
GPR_CALLTYPE
grpcsharp_server_request_call_old
(
grpc_server
*
server
,
GPR_EXPORT
grpc_call_error
GPR_CALLTYPE
grpcsharp_server_request_call_old
(
grpc_server
*
server
,
void
*
tag_new
);
void
*
tag_new
)
{
return
grpc_server_request_call_old
(
server
,
tag_new
);
GPR_EXPORT
grpc_call_error
GPR_CALLTYPE
grpcsharp_server_request_call
(
}
grpc_server
*
server
,
grpc_call
**
call
,
grpc_call_details
*
details
,
grpc_metadata_array
*
request_metadata
,
grpc_completion_queue
*
completion_queue
,
void
*
tag_new
);
GPR_EXPORT
grpc_server
*
GPR_CALLTYPE
grpcsharp_server_create
(
grpc_completion_queue
*
cq
,
GPR_EXPORT
grpc_server
*
GPR_CALLTYPE
grpcsharp_server_create
(
grpc_completion_queue
*
cq
,
const
grpc_channel_args
*
args
);
const
grpc_channel_args
*
args
)
{
return
grpc_server_create
(
cq
,
args
);
}
GPR_EXPORT
int
GPR_CALLTYPE
grpcsharp_server_add_http2_port
(
grpc_server
*
server
,
const
char
*
addr
)
{
GPR_EXPORT
int
GPR_CALLTYPE
grpcsharp_server_add_http2_port
(
grpc_server
*
server
,
const
char
*
addr
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment