Skip to content

Commit c6cf6ca

Browse files
committed
adding TA_GetVersionString()
1 parent 05fbd91 commit c6cf6ca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/root.zig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@ pub fn shutdown() !void {
120120
try convertRetCode(retCode);
121121
}
122122

123+
pub fn version() [*c]const u8 {
124+
return c.TA_GetVersionString();
125+
}
126+
123127
fn checkLength2(a1: []const f64, a2: []const f64) !usize {
124128
const len = a1.len;
125129
if (len != a2.len) {

0 commit comments

Comments
 (0)