summaryrefslogtreecommitdiff
path: root/mkvlib/c/sdk.cs
diff options
context:
space:
mode:
authorb5f0d6c3 <[email protected]>2022-04-27 23:39:21 +0800
committerb5f0d6c3 <[email protected]>2022-04-27 23:39:21 +0800
commit5f8672ac65ef6d4a19fc70a39798a4921690b407 (patch)
treebdeb0d98736b46a24e7bfd7abb43c161661caafb /mkvlib/c/sdk.cs
parent1927ddd43cad6fd528f8644ffa6efb760c8091dd (diff)
update sdk
Diffstat (limited to 'mkvlib/c/sdk.cs')
-rw-r--r--mkvlib/c/sdk.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/mkvlib/c/sdk.cs b/mkvlib/c/sdk.cs
index ec41119..e40bf9b 100644
--- a/mkvlib/c/sdk.cs
+++ b/mkvlib/c/sdk.cs
@@ -38,7 +38,7 @@ public static class mkvlib
static extern bool MakeMKVs(IntPtr dir, IntPtr data, IntPtr output, IntPtr slang, IntPtr stitle, logCallback lcb);
[DllImport("mkvlib.so")]
- static extern void A2P(bool a2p, bool apc, int pr, int pf);
+ static extern void A2P(bool a2p, bool apc, IntPtr pr, IntPtr pf);
[DllImport("mkvlib.so")]
static extern IntPtr GetFontsList(IntPtr dir, logCallback lcb);
@@ -116,9 +116,9 @@ public static class mkvlib
return MakeMKVs(cs(dir), cs(data), cs(output), cs(slang), cs(stitle), _lcb(lcb));
}
- public static void A2P(bool a2p, bool apc, int pr, int pf)
+ public static void A2P(bool a2p, bool apc, string pr, string pf)
{
- A2P(a2p, apc, pr, pf);
+ A2P(a2p, apc, cs(pr), cs(pf));
}
public static string[] GetFontsList(string dir, Action<string> lcb)