summaryrefslogtreecommitdiffstats
path: root/src/bltOp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bltOp.h')
-rw-r--r--src/bltOp.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/bltOp.h b/src/bltOp.h
index 8ab1980..04c584f 100644
--- a/src/bltOp.h
+++ b/src/bltOp.h
@@ -30,6 +30,16 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
+#include <tcl.h>
+#ifdef USE_TCL_STUBS
+#include <tclInt.h>
+#endif
+
+#include <tk.h>
+#ifdef USE_TK_STUBS
+#include <tkInt.h>
+#endif
+
typedef struct {
const char *name; /* Name of operation */
int minChars; /* Minimum # characters to disambiguate */
@@ -51,7 +61,7 @@ typedef enum {
#define BLT_OP_BINARY_SEARCH 0
#define BLT_OP_LINEAR_SEARCH 1
-extern void *Blt_GetOpFromObj(Tcl_Interp* interp, int nSpecs,
- Blt_OpSpec *specs, int operPos, int objc, Tcl_Obj* const objv[],
- int flags);
+void *Blt_GetOpFromObj(Tcl_Interp* interp, int nSpecs,
+ Blt_OpSpec *specs, int operPos, int objc,
+ Tcl_Obj* const objv[], int flags);