aboutsummaryrefslogtreecommitdiff
path: root/Perl/Zinc.xs
blob: d3f04e3c8d1878ef694385a13255b7263013f191 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
  Copyright (c) 1995-1997 Nick Ing-Simmons. All rights reserved.
  This program is free software; you can redistribute it and/or
  modify it under the same terms as Perl itself.
*/

#include <EXTERN.h>
#include <perl.h>
#include <XSUB.h>

#include "tkGlue.def"

#include "pTk/tkPort.h"
#include "pTk/tkInt.h"
#include "pTk/tkVMacro.h"
#include "tkGlue.h"
#include "tkGlue.m"

extern int
ZincObjCmd(
	   ClientData client_data,
	   Tcl_Interp* interp,
	   int argc,
	   Tcl_Obj *args[]);

extern int
VideomapObjCmd(
	       ClientData client_data,
	       Tcl_Interp* interp,
	       int argc,
	       Tcl_Obj *args[]);

extern int
MapInfoObjCmd(
	      ClientData client_data,
	      Tcl_Interp* interp,
	      int argc,
	      Tcl_Obj *args[]);

DECLARE_VTABLES;


MODULE = Tk::Zinc	PACKAGE = Tk::Zinc

PROTOTYPES: DISABLE

BOOT:
 {
  IMPORT_VTABLES;
  Lang_TkCommand("zinc", ZincObjCmd);
  Lang_TkCommand("videomap", VideomapObjCmd);
  Lang_TkCommand("mapinfo", MapInfoObjCmd);
 }