From 8a9bc48054a8d1a5f93708a98155dccb9ff096a2 Mon Sep 17 00:00:00 2001 From: Masanori Matsumoto Date: Thu, 30 May 2024 09:48:57 +0900 Subject: [PATCH] fix: use the same signature for the same function (#402) (#422) --- internal/native/mock_server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/native/mock_server.go b/internal/native/mock_server.go index 947970fb0..17b148e9c 100644 --- a/internal/native/mock_server.go +++ b/internal/native/mock_server.go @@ -62,10 +62,10 @@ int pactffi_create_mock_server_for_pact(PactHandle pact, const char *addr_str, b void pactffi_with_specification(PactHandle pact, int specification_version); /// Adds a provider state to the Interaction -void pactffi_given(InteractionHandle interaction, const char *description); +bool pactffi_given(InteractionHandle interaction, const char *description); /// Adds a provider state with params to the Interaction -void pactffi_given_with_param(InteractionHandle interaction, const char *description, const char *name, const char *value); +bool pactffi_given_with_param(InteractionHandle interaction, const char *description, const char *name, const char *value); /// Get self signed certificate for TLS mode char* pactffi_get_tls_ca_certificate();