aboutsummarylogtreecommitdiffstats
path: root/api.h
diff options
context:
space:
mode:
authorAntony Kellermann2018-09-26 09:08:22 -0400
committerAntony Kellermann2018-09-26 09:08:22 -0400
commitb26a8b08fa9bae9ccdc0bbf37dc3571652d9f7a4 (patch)
tree20558f3b4ea60059ab49e2d876dde4e9e094af91 /api.h
parente18930b85bb3a82cdd3b4958f534a593ef9e0649 (diff)
downloadaur-b26a8b08fa9bae9ccdc0bbf37dc3571652d9f7a4.tar.gz
Moved graph fill empty function to api
Diffstat (limited to 'api.h')
-rw-r--r--api.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/api.h b/api.h
index f03fd20aea10..f900436c80d1 100644
--- a/api.h
+++ b/api.h
@@ -391,6 +391,14 @@ int ref_data_get_index_from_symbol_bsearch(const Ref_Data* pRef_Data, const char
Info* info_array_find_symbol_recursive(const Info_Array* pInfo_Array, const char* symbol);
/**
+ * Reallocates pInfo->points with size trading days. Moves all values to end of the array and sets
+ * values not initialized as EMPTY.
+ * @param pInfo the Info to modify
+ * @param trading_days the size to realloc
+ */
+void info_chart_fill_empty(Info* pInfo, int trading_days);
+
+/**
* Destroys Ref_Data object and frees memory. Sets the pointer of the Ref_Data to NULL
* @param phRef_Data the Ref_Data to destroy
*/