Skip to content

Commit

Permalink
Merge pull request #18879 from ghalliday/issue32090
Browse files Browse the repository at this point in the history
HPCC-32090 Export members of RtlFieldInfo from eclrtl

Reviewed-By: Jack Del Vecchio
Reviewed-by: Jake Smith <[email protected]>
Merged-by: Gavin Halliday <[email protected]>
  • Loading branch information
ghalliday authored Jul 17, 2024
2 parents bb39c6c + 05ba312 commit 52cb0fe
Showing 1 changed file with 12 additions and 1 deletion.
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

0 comments on commit 52cb0fe

Please sign in to comment.