Skip to content
Snippets Groups Projects
Commit a2570e9b authored by Gábor Szalai's avatar Gábor Szalai
Browse files

Attribute handling fix (issue #2)

Correct the encode and variant attributes to be
compilable without -e
parent e50217ae
No related branches found
Tags CNL113512_R36B
1 merge request!20Attribute handling fix (issue #2)
...@@ -94,7 +94,7 @@ type record of EPTF_IntegerList EPTF_IntegerArray2D; ...@@ -94,7 +94,7 @@ type record of EPTF_IntegerList EPTF_IntegerArray2D;
// Elements: // Elements:
// *charstring* // *charstring*
/////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////
type Charstrings EPTF_CharstringList; type record of charstring EPTF_CharstringList;
/////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////
// Type: EPTF_FloatList // Type: EPTF_FloatList
......
...@@ -1260,7 +1260,7 @@ const EPTF_DataSource_Help_DataElementChildren c_EPTF_DataSource_help := { ...@@ -1260,7 +1260,7 @@ const EPTF_DataSource_Help_DataElementChildren c_EPTF_DataSource_help := {
} }
} //group Help } with {encode "JSON"}//group Help
group NonBlockingGetData { group NonBlockingGetData {
......
...@@ -466,4 +466,4 @@ type component EPTF_DsRestAPI_DSServer_CT extends ...@@ -466,4 +466,4 @@ type component EPTF_DsRestAPI_DSServer_CT extends
private var EPTF_DsRestAPI_FilterItems v_DsRestAPI_DSServer_filterItemsDB := {}; private var EPTF_DsRestAPI_FilterItems v_DsRestAPI_DSServer_filterItemsDB := {};
} }
} // ~ module EPTF_CLL_DsRestAPI_DSServer_Definitions } with {encode "JSON"}// ~ module EPTF_CLL_DsRestAPI_DSServer_Definitions
...@@ -256,4 +256,4 @@ module EPTF_CLL_DsRestAPI_Filter_Definitions { ...@@ -256,4 +256,4 @@ module EPTF_CLL_DsRestAPI_Filter_Definitions {
private var EPTF_DsRestAPI_OutstandingFilters v_DsRestAPI_Filter_outstandingFiltersDB := {}; private var EPTF_DsRestAPI_OutstandingFilters v_DsRestAPI_Filter_outstandingFiltersDB := {};
} }
} // ~ module EPTF_CLL_DsRestAPI_Filter_Definitions } with {encode "JSON"} // ~ module EPTF_CLL_DsRestAPI_Filter_Definitions
...@@ -192,4 +192,4 @@ friend type record EPTF_DsRestAPI_HTTPServer_FileInfoList_Wrapper { ...@@ -192,4 +192,4 @@ friend type record EPTF_DsRestAPI_HTTPServer_FileInfoList_Wrapper {
EPTF_DsRestAPI_HTTPServer_FileInfoList fileList EPTF_DsRestAPI_HTTPServer_FileInfoList fileList
} with { variant(fileList) "JSON: name as fileList"; } } with { variant(fileList) "JSON: name as fileList"; }
} // ~ module EPTF_DsRestAPI_HTTPServer_Definitions } with {encode "JSON"}// ~ module EPTF_DsRestAPI_HTTPServer_Definitions
...@@ -319,7 +319,7 @@ group PrivateFunction { ...@@ -319,7 +319,7 @@ group PrivateFunction {
type record EPTF_DsRestAPI_CharstringListWrapper { type record EPTF_DsRestAPI_CharstringListWrapper {
EPTF_CharstringList contentList EPTF_CharstringList contentList
} with { variant(contentList) "JSON: name as contentList"; } } with { variant(contentList) "JSON: name as contentList"; encode "JSON"}
external function ef_EPTF_CharstringList_enc_JSON(in EPTF_DsRestAPI_CharstringListWrapper pl_par) return octetstring with { extension "prototype(convert) encode(JSON) errorbehavior(ALL:WARNING)" } external function ef_EPTF_CharstringList_enc_JSON(in EPTF_DsRestAPI_CharstringListWrapper pl_par) return octetstring with { extension "prototype(convert) encode(JSON) errorbehavior(ALL:WARNING)" }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment