Skip to content

Commit

Permalink
Explicitly set visibility of marshal API.
Browse files Browse the repository at this point in the history
Signed-off-by: Rule Timothy (VM/EMT3) <[email protected]>
  • Loading branch information
timrulebosch committed Jul 5, 2024
1 parent c90de6b commit 65bfcea
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions dse/clib/data/marshal.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <stdint.h>
#include <stdbool.h>
#include <dse/clib/collections/set.h>
#include <dse/platform.h>


/**
Expand Down Expand Up @@ -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_

0 comments on commit 65bfcea

Please sign in to comment.