summaryrefslogtreecommitdiffstats
path: root/src/bltOp.h
diff options
context:
space:
mode:
authorjoye <joye>2014-04-23 18:36:28 (GMT)
committerjoye <joye>2014-04-23 18:36:28 (GMT)
commit3d6f1d5636fd4fb4acc254dd3fbcde448228e0aa (patch)
tree9a29df91c943bf24f1ff8fddf8c785ba6183d0a9 /src/bltOp.h
parentddc53931829bf13ace2e88a60eaace3fb7f226c5 (diff)
downloadblt-3d6f1d5636fd4fb4acc254dd3fbcde448228e0aa.zip
blt-3d6f1d5636fd4fb4acc254dd3fbcde448228e0aa.tar.gz
blt-3d6f1d5636fd4fb4acc254dd3fbcde448228e0aa.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltOp.h')
-rw-r--r--src/bltOp.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/bltOp.h b/src/bltOp.h
index 5ddc679..17169c2 100644
--- a/src/bltOp.h
+++ b/src/bltOp.h
@@ -35,12 +35,6 @@
#include <tk.h>
-typedef struct BltEnsemble {
- const char* name; /* subcommand name */
- Tcl_ObjCmdProc* command; /* subcommand implementation, OR: */
- const struct BltEnsemble* ensemble; /* subcommand ensemble */
-} BltEnsemble;
-
typedef struct {
const char *name; /* Name of operation */
int minChars; /* Minimum # characters to disambiguate */
@@ -62,7 +56,12 @@ typedef enum {
#define BLT_OP_BINARY_SEARCH 0
#define BLT_OP_LINEAR_SEARCH 1
-int BltInvokeEnsemble(const BltEnsemble* ensemble, int cmdIndex,
+#include <tk.h>
+#ifdef USE_TK_STUBS
+#include <tkInt.h>
+#endif
+
+int BltInvokeEnsemble(const TkEnsemble* ensemble, int cmdIndex,
void* clientData, Tcl_Interp* interp,
int objc, Tcl_Obj* const objv[]);