From 65bfceab068c2936360b37fcbcee09a2912dc905 Mon Sep 17 00:00:00 2001 From: "Rule Timothy (VM/EMT3)" Date: Fri, 5 Jul 2024 08:39:51 +0200 Subject: [PATCH] Explicitly set visibility of marshal API. Signed-off-by: Rule Timothy (VM/EMT3) --- dse/clib/data/marshal.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/dse/clib/data/marshal.h b/dse/clib/data/marshal.h index 7689346..5ed1bdc 100644 --- a/dse/clib/data/marshal.h +++ b/dse/clib/data/marshal.h @@ -8,6 +8,7 @@ #include #include #include +#include /** @@ -204,19 +205,20 @@ typedef struct MarshalSignalMap { /* marshal.c */ -size_t marshal_type_size(MarshalType type); +DLL_PUBLIC size_t marshal_type_size(MarshalType type); /* marshal.c : SOURCE <-(MarshalGroup)-> TARGET */ -void marshal_group_out(MarshalGroup* mg_table); -void marshal_group_in(MarshalGroup* mg_table); -void marshal_group_destroy(MarshalGroup* mg_table); +DLL_PUBLIC void marshal_group_out(MarshalGroup* mg_table); +DLL_PUBLIC void marshal_group_in(MarshalGroup* mg_table); +DLL_PUBLIC void marshal_group_destroy(MarshalGroup* mg_table); /* marshal.c : SIGNAL <-(MarshalSignalMap)-> SOURCE */ -MarshalSignalMap* marshal_generate_signalmap(MarshalMapSpec signal, +DLL_PUBLIC void marshal_signalmap_out(MarshalSignalMap* map); +DLL_PUBLIC void marshal_signalmap_in(MarshalSignalMap* map); +DLL_PUBLIC void marshal_signalmap_destroy(MarshalSignalMap* mg_table); + +DLL_PUBLIC MarshalSignalMap* marshal_generate_signalmap(MarshalMapSpec signal, MarshalMapSpec source, SimpleSet* ex_signals, bool is_binary); -void marshal_signalmap_out(MarshalSignalMap* map); -void marshal_signalmap_in(MarshalSignalMap* map); -void marshal_signalmap_destroy(MarshalSignalMap* mg_table); #endif // DSE_CLIB_DATA_MARSHAL_H_