diff options
| author | MITSUNARI Shigeo <herumi@nifty.com> | 2018-05-14 14:44:50 +0800 |
|---|---|---|
| committer | MITSUNARI Shigeo <herumi@nifty.com> | 2018-05-14 14:44:50 +0800 |
| commit | 299a7053e9024e113adf59cbeb6b16e89984786c (patch) | |
| tree | ecd552330298b6af8a165a9db6e296d2ea77e6b2 /ffi | |
| parent | f5d9cbf7040a867967dc7b74cf9d128f9191ca72 (diff) | |
| download | tangerine-mcl-299a7053e9024e113adf59cbeb6b16e89984786c.tar.gz tangerine-mcl-299a7053e9024e113adf59cbeb6b16e89984786c.tar.zst tangerine-mcl-299a7053e9024e113adf59cbeb6b16e89984786c.zip | |
setErrFile is removed
Diffstat (limited to 'ffi')
| -rw-r--r-- | ffi/cs/bn256.cs | 2 | ||||
| -rw-r--r-- | ffi/cs/bn256_test.cs | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/ffi/cs/bn256.cs b/ffi/cs/bn256.cs index e2e3070..5ef2edb 100644 --- a/ffi/cs/bn256.cs +++ b/ffi/cs/bn256.cs @@ -5,8 +5,6 @@ using System.Runtime.InteropServices; namespace mcl {
class BN256 {
[DllImport("mclBn256.dll")]
- public static extern int mclBn_setErrFile([In][MarshalAs(UnmanagedType.LPStr)] string name);
- [DllImport("mclBn256.dll")]
public static extern int mclBn_init(int curve, int maxUnitSize);
[DllImport("mclBn256.dll")]
public static extern void mclBnFr_clear(ref Fr x);
diff --git a/ffi/cs/bn256_test.cs b/ffi/cs/bn256_test.cs index 715ee04..91327c9 100644 --- a/ffi/cs/bn256_test.cs +++ b/ffi/cs/bn256_test.cs @@ -15,9 +15,6 @@ namespace mcl { try {
assert("64bit system", System.Environment.Is64BitProcess);
init();
- int ret;
- ret = mclBn_setErrFile("mclbn_test.txt");
- assert("mclbn_setErrFile", ret == 0);
TestFr();
TestG1();
TestG2();
|
