diff options
author | antirez <antirez> | 2005-03-16 16:28:34 +0000 |
---|---|---|
committer | antirez <antirez> | 2005-03-16 16:28:34 +0000 |
commit | b8dd7d32a1d21cfa45377a36a127216c91d2e8e9 (patch) | |
tree | 75a6737d9e143a73ec332668a5d5da53d87c0730 /jim.h | |
parent | e57e62df32f40bb243f0e7a00e49d1e2ef41bd77 (diff) | |
download | jimtcl-b8dd7d32a1d21cfa45377a36a127216c91d2e8e9.zip jimtcl-b8dd7d32a1d21cfa45377a36a127216c91d2e8e9.tar.gz jimtcl-b8dd7d32a1d21cfa45377a36a127216c91d2e8e9.tar.bz2 |
[env] modified to just be able to read a specified var name
form the environment, i.e. to be ANSI-C.
Minor fix to AIO extension to use the new DelProc API.
Diffstat (limited to 'jim.h')
-rw-r--r-- | jim.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,7 +1,7 @@ /* Jim - A small embeddable Tcl interpreter * Copyright 2005 Salvatore Sanfilippo <antirez@invece.org> * - * $Id: jim.h,v 1.56 2005/03/16 16:06:31 patthoyts Exp $ + * $Id: jim.h,v 1.57 2005/03/16 16:28:34 antirez Exp $ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -387,8 +387,7 @@ typedef struct Jim_Var { /* The cmd structure. */ typedef int (*Jim_CmdProc)(struct Jim_Interp *interp, int argc, Jim_Obj *const *argv); -typedef struct Jim_Interp Jim_Interp; -typedef void (*Jim_DelCmdProc)(Jim_Interp *interp, void *privData); +typedef void (*Jim_DelCmdProc)(struct Jim_Interp *interp, void *privData); /* A command is implemented in C if funcPtr is != NULL, otherwise * it's a Tcl procedure with the arglist and body represented by the |