Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.
/ gobolt Public archive

Commit

Permalink
Update CGO headers to reflect latest seabolt packaging changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-ince committed Oct 18, 2018
1 parent 4e5da3d commit 3b6fef8
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 12 deletions.
5 changes: 2 additions & 3 deletions connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@
package gobolt

/*
#cgo pkg-config: seabolt
#cgo pkg-config: seabolt17
#include <stdlib.h>
#include "bolt/error.h"
#include "bolt/connections.h"
#include "bolt/bolt.h"
*/
import "C"
import (
Expand Down
5 changes: 1 addition & 4 deletions connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ package gobolt
/*
#include <stdlib.h>
#include "bolt/error.h"
#include "bolt/lifecycle.h"
#include "bolt/connector.h"
#include "bolt/mem.h"
#include "bolt/bolt.h"
*/
import "C"
import (
Expand Down
3 changes: 1 addition & 2 deletions error.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
package gobolt

/*
#include "bolt/error.h"
#include "bolt/connections.h"
#include "bolt/bolt.h"
*/
import "C"
import (
Expand Down
2 changes: 1 addition & 1 deletion logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
package gobolt

/*
#include "bolt/logging.h"
#include "bolt/bolt.h"
extern void go_seabolt_log_error_cb(int state, char* message);
extern void go_seabolt_log_warning_cb(int state, char* message);
Expand Down
2 changes: 1 addition & 1 deletion resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ package gobolt

/*
#include <stdlib.h>
#include "bolt/address-resolver.h"
#include "bolt/bolt.h"
extern void go_seabolt_server_address_resolver_cb(int state, struct BoltAddress *address, struct BoltAddressSet *resolved);
*/
Expand Down
2 changes: 1 addition & 1 deletion value.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ package gobolt
/*
#include <stdlib.h>
#include "bolt/values.h"
#include "bolt/bolt.h"
*/
import "C"
import (
Expand Down

0 comments on commit 3b6fef8

Please sign in to comment.