diff options
author | 2015-04-30 13:56:46 -0700 | |
---|---|---|
committer | 2015-04-30 13:56:46 -0700 | |
commit | f722b0cd6fbc56bca78c2098a2d9cbb249afb616 (patch) | |
tree | 52754be06ec867313c312ba546ff611b6e4660ba | |
parent | b753ab4cbbdf03fb5200796ba8e6917f31b2672f (diff) |
Extern-ify symbols so they don't collide
-rw-r--r-- | src/python/src/grpc/_adapter/_call.h | 2 | ||||
-rw-r--r-- | src/python/src/grpc/_adapter/_channel.h | 2 | ||||
-rw-r--r-- | src/python/src/grpc/_adapter/_client_credentials.h | 2 | ||||
-rw-r--r-- | src/python/src/grpc/_adapter/_completion_queue.h | 2 | ||||
-rw-r--r-- | src/python/src/grpc/_adapter/_server_credentials.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/python/src/grpc/_adapter/_call.h b/src/python/src/grpc/_adapter/_call.h index fb9160901b..b4cf9d7ec9 100644 --- a/src/python/src/grpc/_adapter/_call.h +++ b/src/python/src/grpc/_adapter/_call.h @@ -70,7 +70,7 @@ typedef struct { grpc_call *c_call; } Call; -PyTypeObject pygrpc_CallType; +extern PyTypeObject pygrpc_CallType; int pygrpc_add_call(PyObject *module); diff --git a/src/python/src/grpc/_adapter/_channel.h b/src/python/src/grpc/_adapter/_channel.h index afc0f80359..65894939a2 100644 --- a/src/python/src/grpc/_adapter/_channel.h +++ b/src/python/src/grpc/_adapter/_channel.h @@ -42,7 +42,7 @@ typedef struct { grpc_channel *c_channel; } Channel; -PyTypeObject pygrpc_ChannelType; +extern PyTypeObject pygrpc_ChannelType; int pygrpc_add_channel(PyObject *module); diff --git a/src/python/src/grpc/_adapter/_client_credentials.h b/src/python/src/grpc/_adapter/_client_credentials.h index bb9f7f0c3a..fe04016d20 100644 --- a/src/python/src/grpc/_adapter/_client_credentials.h +++ b/src/python/src/grpc/_adapter/_client_credentials.h @@ -42,7 +42,7 @@ typedef struct { grpc_credentials *c_client_credentials; } ClientCredentials; -PyTypeObject pygrpc_ClientCredentialsType; +extern PyTypeObject pygrpc_ClientCredentialsType; int pygrpc_add_client_credentials(PyObject *module); diff --git a/src/python/src/grpc/_adapter/_completion_queue.h b/src/python/src/grpc/_adapter/_completion_queue.h index 9b377d15d9..516694daa1 100644 --- a/src/python/src/grpc/_adapter/_completion_queue.h +++ b/src/python/src/grpc/_adapter/_completion_queue.h @@ -42,7 +42,7 @@ typedef struct { grpc_completion_queue *c_completion_queue; } CompletionQueue; -PyTypeObject pygrpc_CompletionQueueType; +extern PyTypeObject pygrpc_CompletionQueueType; int pygrpc_add_completion_queue(PyObject *module); diff --git a/src/python/src/grpc/_adapter/_server_credentials.h b/src/python/src/grpc/_adapter/_server_credentials.h index 6090404bd9..75af934089 100644 --- a/src/python/src/grpc/_adapter/_server_credentials.h +++ b/src/python/src/grpc/_adapter/_server_credentials.h @@ -42,7 +42,7 @@ typedef struct { grpc_server_credentials *c_server_credentials; } ServerCredentials; -PyTypeObject pygrpc_ServerCredentialsType; +extern PyTypeObject pygrpc_ServerCredentialsType; int pygrpc_add_server_credentials(PyObject *module); |