diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-15 08:25:00 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-15 08:25:00 (GMT) |
commit | 28e835d284adc55deae30362d6885d34f357eace (patch) | |
tree | 4e3e233a5b60b033ae114007cd75023003852059 /generic/tk.decls | |
parent | c43656f1112d65797a75c26595a0c52ebc7af4eb (diff) | |
download | tk-28e835d284adc55deae30362d6885d34f357eace.zip tk-28e835d284adc55deae30362d6885d34f357eace.tar.gz tk-28e835d284adc55deae30362d6885d34f357eace.tar.bz2 |
rfe-2636558 simplification
Diffstat (limited to 'generic/tk.decls')
-rw-r--r-- | generic/tk.decls | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/generic/tk.decls b/generic/tk.decls index e54b804..9ceb3af 100644 --- a/generic/tk.decls +++ b/generic/tk.decls @@ -207,8 +207,8 @@ declare 43 { const char *pathName, const char *screenName) } declare 44 { - int Tk_OldDefineBitmap(Tcl_Interp *interp, const char *name, - const char *source, int width, int height) + int Tk_DefineBitmap(Tcl_Interp *interp, const char *name, + const void *source, int width, int height) } declare 45 { void Tk_DefineCursor(Tk_Window window, Tk_Cursor cursor) @@ -359,8 +359,8 @@ declare 85 { Pixmap Tk_GetBitmap(Tcl_Interp *interp, Tk_Window tkwin, const char *str) } declare 86 { - Pixmap Tk_OldGetBitmapFromData(Tcl_Interp *interp, - Tk_Window tkwin, const char *source, int width, int height) + Pixmap Tk_GetBitmapFromData(Tcl_Interp *interp, + Tk_Window tkwin, const void *source, int width, int height) } declare 87 { int Tk_GetCapStyle(Tcl_Interp *interp, const char *str, int *capPtr) @@ -1069,17 +1069,6 @@ declare 273 { void Tk_CreateOldPhotoImageFormat(const Tk_PhotoImageFormat *formatPtr) } -# See [Enhancement request 2636558] Tk_DefineBitmap and -# Tk_GetBitmapFromData signature problem -declare 274 { - int Tk_DefineBitmap(Tcl_Interp *interp, const char *name, - const void *source, int width, int height) -} -declare 275 { - Pixmap Tk_GetBitmapFromData(Tcl_Interp *interp, - Tk_Window tkwin, const void *source, int width, int height) -} - # Define the platform specific public Tk interface. These functions are # only available on the designated platform. |