-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathGrpc.xs
54 lines (41 loc) · 1.13 KB
/
Grpc.xs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#define PERL_NO_GET_CONTEXT
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#include "ppport.h"
#include "util.h"
#include "ext/call.h"
#include "ext/call_credentials.h"
#include "ext/channel.h"
#include "ext/channel_credentials.h"
#include "ext/constants.h"
#include "ext/server.h"
#include "ext/server_credentials.h"
#include "ext/timeval.h"
MODULE = Grpc::XS PACKAGE = Grpc::XS
BOOT:
grpc_perl_init();
void
init()
CODE:
grpc_perl_init();
void
destroy()
CODE:
grpc_perl_destroy();
MODULE = Grpc::XS PACKAGE = Grpc::XS::Call
INCLUDE: ext/call.xs
MODULE = Grpc::XS PACKAGE = Grpc::XS::CallCredentials
INCLUDE: ext/call_credentials.xs
MODULE = Grpc::XS PACKAGE = Grpc::XS::Channel
INCLUDE: ext/channel.xs
MODULE = Grpc::XS PACKAGE = Grpc::XS::ChannelCredentials
INCLUDE: ext/channel_credentials.xs
MODULE = Grpc::XS PACKAGE = Grpc::XS::Constants
INCLUDE: ext/constants.xs
MODULE = Grpc::XS PACKAGE = Grpc::XS::Server
INCLUDE: ext/server.xs
MODULE = Grpc::XS PACKAGE = Grpc::XS::ServerCredentials
INCLUDE: ext/server_credentials.xs
MODULE = Grpc::XS PACKAGE = Grpc::XS::Timeval
INCLUDE: ext/timeval.xs