Skip to content
Browse files

Load Tcl in a cross-platform way

  • Loading branch information...
1 parent 08dc5e2 commit 855be1ec27572f522669e9e70f754d465792559b @undees committed May 13, 2010
Showing with 6 additions and 6 deletions.
  1. +6 −6 lib/irule.cs
View
12 lib/irule.cs
@@ -7,22 +7,22 @@ namespace Irule
{
public class TclInterp : IDisposable
{
- [DllImport("libtcl.dylib")]
+ [DllImport("tcl8.4")]
protected static extern IntPtr Tcl_CreateInterp();
- [DllImport("libtcl.dylib")]
+ [DllImport("tcl8.4")]
protected static extern int Tcl_Init(IntPtr interp);
- [DllImport("libtcl.dylib")]
+ [DllImport("tcl8.4")]
protected static extern int Tcl_Eval(IntPtr interp, string script);
- [DllImport("libtcl.dylib")]
+ [DllImport("tcl8.4")]
protected static extern IntPtr Tcl_GetStringResult(IntPtr interp);
- [DllImport("libtcl.dylib")]
+ [DllImport("tcl8.4")]
protected static extern void Tcl_DeleteInterp(IntPtr interp);
- [DllImport("libtcl.dylib")]
+ [DllImport("tcl8.4")]
protected static extern void Tcl_Finalize();
private IntPtr interp;

0 comments on commit 855be1e

Please sign in to comment.
Something went wrong with that request. Please try again.