We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 624be92 commit 40342beCopy full SHA for 40342be
3 files changed
package.json
@@ -2,7 +2,7 @@
2
"name": "talib-binding",
3
"main": "./build/Release/talib_binding.node",
4
"types": "./src/talib-binding.generated.d.ts",
5
- "version": "0.3.0",
+ "version": "0.3.1",
6
"license": "MIT",
7
"scripts": {
8
"install": "node-gyp configure build -j4"
src/generate.ts
@@ -393,7 +393,7 @@ export function generateBindings({_}: Arguments) {
393
.normal('TA_RetCodeInfo retCodeInfo;')
394
.normal('TA_SetRetCodeInfo(result, &retCodeInfo);')
395
.normal('char error[100];')
396
- .normal(`strcat(error, "TA_${name} ERROR: ");`)
+ .normal(`strcpy(error, "TA_${name} ERROR: ");`)
397
.normal('strcat(error, retCodeInfo.enumStr);')
398
.normal('strcat(error, " - ");')
399
.normal('strcat(error, retCodeInfo.infoStr);')
0 commit comments