--- a/project_files/hwc/rtl/system.c Mon Oct 15 19:43:30 2018 +0300
+++ b/project_files/hwc/rtl/system.c Mon Oct 15 13:08:29 2018 -0400
@@ -74,7 +74,7 @@
return result;
}
-void fpcrtl_insert__vars(string255 *src, string255 *dst, SizeInt index) {
+void __attribute__((overloadable)) fpcrtl_insert__vars(string255 *src, string255 *dst, SizeInt index) {
int num_insert;
int num_shift;
int num_preshift;
--- a/project_files/hwc/rtl/system.h Mon Oct 15 19:43:30 2018 +0300
+++ b/project_files/hwc/rtl/system.h Mon Oct 15 13:08:29 2018 -0400
@@ -28,7 +28,7 @@
/*
* Insert a shortstring in another at a specified index
*/
-void fpcrtl_insert__vars(string255 *src, string255 *dst, SizeInt index);
+void __attribute__((overloadable)) fpcrtl_insert__vars(string255 *src, string255 *dst, SizeInt index);
void __attribute__((overloadable)) fpcrtl_insert__vars(astring *src, astring *dst, SizeInt index);
#define fpcrtl_insert(src, dst, index) fpcrtl_insert__vars(&(src), &(dst), index);