Support Board
Date/Time: Thu, 03 Dec 2026 00:44:02 +0000
Post From: [API Design] Consistent Naming for t_ChartArrayDataType Arrays
| [2026-10-11 20:55:38] |
| User719512 - Posts: 554 |
|
I may have submitted my original post before seeing your note in https://www.sierrachart.com/index.php?page=doc/Whats_New.php#SCVer2969 stating that the ACSIL interface changes are now finalized. I only noticed that note just now, so I'm not certain of the timing. I wanted to share one additional observation. Your API is very well structured, and I found that a global search-and-replace of `FloatArray` with `ChartDataArray` across all my .h and .cpp files worked perfectly. It updated the typedef names and their uses in function prototypes without requiring any further changes. For example, this: void GetStudyArrayFromChartUsingID(const s_ChartStudySubgraphValues& ChartStudySubgraphValues, SCFloatArrayRef SubgraphArray) Becomes: void GetStudyArrayFromChartUsingID(const s_ChartStudySubgraphValues& ChartStudySubgraphValues, SCChartDataArrayRef SubgraphArray) I've attached a VS Code IntelliSense screenshot showing the updated naming applied to the example GetStudyArrayFromChartUsingID() function. To be clear, I'm not advocating for or against any further changes to the API. I simply wanted to share the practical result of applying the naming convention I proposed, in case it's useful. Respectfully submitted, @User719512 |
| |
