Skip to content

Commit 064e1c6

Browse files
authored
Fix call to plc_tag_create_from_tag method
Signed-off-by: timyhac <timyhac@gmail.com>
1 parent f04a2d6 commit 064e1c6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/libplctag.NativeImport/plctag.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static Int32 plc_tag_create_ex(string lpString, callback_func_ex func, In
4646

4747
public static Int32 plc_tag_create_from_tag(Int32 src_tag_id, string attrib_str, callback_func_ex func, IntPtr userdata, int timeout)
4848
{
49-
return plc_tag_create_from_tag(src_tag_id, attrib_str, func, userdata, timeout);
49+
return NativeMethods.plc_tag_create_from_tag(src_tag_id, attrib_str, func, userdata, timeout);
5050
}
5151

5252
public static int plc_tag_destroy(Int32 tag)
@@ -332,4 +332,4 @@ public static int plc_tag_set_raw_bytes(Int32 tag_id, int start_offset, ReadOnly
332332

333333

334334
}
335-
}
335+
}

0 commit comments

Comments
 (0)