Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HPCC-32090 Export members of RtlFieldInfo from eclrtl #18879

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion rtl/include/eclhelper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,17 @@ typedef unsigned short UChar;
#endif
#include "rtlconst.hpp"


#if !defined(ECLRTL_LOCAL)
#ifdef ECLRTL_EXPORTS
#define ECLRTL_API DECL_EXPORT
#else
#define ECLRTL_API DECL_IMPORT
#endif
#else
#define ECLRTL_API
#endif

//Should be incremented whenever the virtuals in the context or a helper are changed, so
//that a work unit can't be rerun. Try as hard as possible to retain compatibility.
#define ACTIVITY_INTERFACE_VERSION 654
Expand Down Expand Up @@ -484,7 +495,7 @@ inline byte getVirtualInitializer(const void * initializer) { return (byte)(mems
typedef IThorDiskCallback IVirtualFieldCallback;

//Core struct used for representing meta for a field. Effectively used as an interface.
struct RtlFieldInfo
struct ECLRTL_API RtlFieldInfo
{
constexpr inline RtlFieldInfo(const char * _name, const char * _xpath, const RtlTypeInfo * _type, unsigned _flags = 0, const char *_initializer = NULL)
: name(_name), xpath(_xpath), type(_type), initializer(_initializer), flags(_type->fieldType | _flags) {}
Expand Down
Loading