diff options
Diffstat (limited to 'mkvlib/c/sdk.cs')
| -rw-r--r-- | mkvlib/c/sdk.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mkvlib/c/sdk.cs b/mkvlib/c/sdk.cs index 4699b1d..a565e55 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 bool A2P(bool a2p, bool apc, int pr, int pf); + static extern void A2P(bool a2p, bool apc, int pr, int pf); [DllImport("mkvlib.so")] static extern IntPtr GetFontsList(IntPtr dir, logCallback lcb); @@ -47,6 +47,9 @@ public static class mkvlib static extern void Cache(IntPtr p); [DllImport("mkvlib.so")] + static extern void MKS(); + + [DllImport("mkvlib.so")] static extern IntPtr CreateFontsCache(IntPtr dir, IntPtr output, logCallback lcb); [DllImport("mkvlib.so")] @@ -129,6 +132,11 @@ public static class mkvlib Cache(cs(p)); } + public static void MKS() + { + MKS(); + } + public static string[] CreateFontsCache(string dir, string output, Action<string> lcb) { string result = css(CreateFontsCache(cs(dir), cs(output), _lcb(lcb))); |
