aboutsummaryrefslogtreecommitdiff
path: root/jim-win32.c
diff options
context:
space:
mode:
authorantirez <antirez>2005-02-27 17:06:16 +0000
committerantirez <antirez>2005-02-27 17:06:16 +0000
commit188b257855973b53b68cc814141cf4ed6f709a00 (patch)
tree71e4ba6073cd14e006a95be3d6de4af2322937b2 /jim-win32.c
parentba67c1dc4e964e555617f05d4acc0ee77f4ff7fc (diff)
downloadjimtcl-188b257855973b53b68cc814141cf4ed6f709a00.zip
jimtcl-188b257855973b53b68cc814141cf4ed6f709a00.tar.gz
jimtcl-188b257855973b53b68cc814141cf4ed6f709a00.tar.bz2
aritymin/aritymax information no longer used for C-coded commands.
API changed accordingly.
Diffstat (limited to 'jim-win32.c')
-rw-r--r--jim-win32.c22
1 files changed, 21 insertions, 1 deletions
diff --git a/jim-win32.c b/jim-win32.c
index d69ebe9..aa12bbe 100644
--- a/jim-win32.c
+++ b/jim-win32.c
@@ -1,3 +1,23 @@
+/* WIN32 extension
+ *
+ * Copyright(C) 2005 Pat Thoyts.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * A copy of the license is also included in the source distribution
+ * of Jim, as a TXT file name called LICENSE.
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
#define STRICT
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
@@ -37,6 +57,6 @@ int
Jim_OnLoad(Jim_Interp *interp)
{
Jim_InitExtension(interp, "1.0");
- Jim_CreateCommand(interp, "win32.shellexecute", Win32_ShellExecute, 3, 4, NULL);
+ Jim_CreateCommand(interp, "win32.shellexecute", Win32_ShellExecute, NULL);
return JIM_OK;
}