irule 0.1-universal-dotnet → 0.2-universal-dotnet
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rst +7 -2
- data/lib/irule.cs +6 -6
- data/lib/irule.dll +0 -0
- metadata +1 -1
data/README.rst
CHANGED
@@ -9,14 +9,19 @@ its more full-featured cousin, the tcl_ Ruby library.
|
|
9
9
|
|
10
10
|
Prerequisites
|
11
11
|
-------------
|
12
|
-
#.
|
12
|
+
#. IronRuby.
|
13
|
+
#. Tcl 8.5.
|
13
14
|
#. Mono or .NET.
|
14
15
|
|
15
16
|
Installation
|
16
17
|
------------
|
17
18
|
|
18
|
-
``igem install irule``, or just put ``tcl.rb`` and ``irule.dll``
|
19
|
+
#. ``igem install irule``, or just put ``tcl.rb`` and ``irule.dll``
|
19
20
|
somewhere in your ``LOAD_PATH``.
|
21
|
+
#. On Linux or Mac, add the following to the ``<configuration>``
|
22
|
+
section of ``/etc/mono/config``::
|
23
|
+
|
24
|
+
<dllmap dll="tcl85" target="tcl8.5"/>
|
20
25
|
|
21
26
|
Usage
|
22
27
|
-----
|
data/lib/irule.cs
CHANGED
@@ -7,22 +7,22 @@ namespace Irule
|
|
7
7
|
{
|
8
8
|
public class TclInterp : IDisposable
|
9
9
|
{
|
10
|
-
[DllImport("
|
10
|
+
[DllImport("tcl85")]
|
11
11
|
protected static extern IntPtr Tcl_CreateInterp();
|
12
12
|
|
13
|
-
[DllImport("
|
13
|
+
[DllImport("tcl85")]
|
14
14
|
protected static extern int Tcl_Init(IntPtr interp);
|
15
15
|
|
16
|
-
[DllImport("
|
16
|
+
[DllImport("tcl85")]
|
17
17
|
protected static extern int Tcl_Eval(IntPtr interp, string script);
|
18
18
|
|
19
|
-
[DllImport("
|
19
|
+
[DllImport("tcl85")]
|
20
20
|
protected static extern IntPtr Tcl_GetStringResult(IntPtr interp);
|
21
21
|
|
22
|
-
[DllImport("
|
22
|
+
[DllImport("tcl85")]
|
23
23
|
protected static extern void Tcl_DeleteInterp(IntPtr interp);
|
24
24
|
|
25
|
-
[DllImport("
|
25
|
+
[DllImport("tcl85")]
|
26
26
|
protected static extern void Tcl_Finalize();
|
27
27
|
|
28
28
|
protected const int TCL_ERROR = 1;
|
data/lib/irule.dll
CHANGED
Binary file
|