File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313#if $$$comClassDefined("%Library.Array")
1414 #define NewDynObj ##class(%Object).%New()
1515 #define NewDynDTList ##class(%Array).%New()
16+ #;define NewDynDTArray $$$NewDynDTList
1617 #define NewDynObjList $$$NewDynDTList
18+ #;define NewDynObjArray $$$NewDynDTList
1719 #define Insert(%obj,%element) do %obj.$push(%element)
1820 #define DynObjToJSON(%obj) w %obj.$toJSON()
1921 #define ListToJSON(%obj) $$$DynObjToJSON(%obj)
2224#else
2325 #define NewDynObj ##class(%ZEN.proxyObject).%New()
2426 #define NewDynDTList ##class(%ListOfDataTypes).%New()
27+ #;define NewDynDTArray ##class(%ArrayOfDataTypes).%New()
2528 #define NewDynObjList ##class(%ListOfObjects).%New()
29+ #;define NewDynObjArray ##class(%ArrayOfObjects).%New()
2630 #define Insert(%obj,%element) do %obj.Insert(%element)
2731 #define DynObjToJSON(%obj) do %obj.%ToJSON()
2832 #define ListToJSON(%obj) do ##class(%ZEN.Auxiliary.jsonProvider).%ObjectToJSON(%obj)
You can’t perform that action at this time.
0 commit comments