Check-in [5d19f522b0]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:elimate compiler warnings in sdl2tk
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 5d19f522b040ddc8e23b05a11fc6562de32481f3
User & Date: chw 2016-11-30 05:51:58
Context
2016-11-30
06:03
update SQLite to version 3.15.2 check-in: 826bd13545 user: chw tags: trunk
05:51
elimate compiler warnings in sdl2tk check-in: 5d19f522b0 user: chw tags: trunk
2016-11-27
18:56
small fix in SDL version of TkpDoOneEvent() check-in: c9b8d67ace user: chw tags: trunk
Changes

Changes to jni/sdl2tk/generic/tkCmds.c.

1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
	Tcl_SetObjResult(interp, Tcl_NewBooleanObj(alive));
	break;
    }
    case WIN_FPIXELS: {
	double mm, pixels;
#ifdef PLATFORM_SDL
	double pixels2;
	int widthM, widthS, heightM, heightS;
#endif

	if (objc != 4) {
	    Tcl_WrongNumArgs(interp, 2, objv, "window number");
	    return TCL_ERROR;
	}
	if (TkGetWindowFromObj(interp, tkwin, objv[2], &tkwin) != TCL_OK) {







<







1719
1720
1721
1722
1723
1724
1725

1726
1727
1728
1729
1730
1731
1732
	Tcl_SetObjResult(interp, Tcl_NewBooleanObj(alive));
	break;
    }
    case WIN_FPIXELS: {
	double mm, pixels;
#ifdef PLATFORM_SDL
	double pixels2;

#endif

	if (objc != 4) {
	    Tcl_WrongNumArgs(interp, 2, objv, "window number");
	    return TCL_ERROR;
	}
	if (TkGetWindowFromObj(interp, tkwin, objv[2], &tkwin) != TCL_OK) {

Changes to jni/sdl2tk/sdl/SdlTkUtils.c.

1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
    }

    list = Tcl_NewListObj(0, NULL);
    Tcl_MutexLock(&fontMutex);
    hPtr = Tcl_FirstHashEntry(&fileFaceHash, &search);
    while (hPtr != NULL) {
	GlyphIndexHash *ghash;
	Tcl_Obj *obj;
	FileFaceKey *ffKey;

	ghash = (GlyphIndexHash *) Tcl_GetHashValue(hPtr);
	ffKey = (FileFaceKey *) Tcl_GetHashKey(&fileFaceHash, hPtr);
	Tcl_ListObjAppendElement(NULL, list,
		Tcl_NewStringObj(ghash->xlfdPattern, -1));
	Tcl_ListObjAppendElement(NULL, list,







<







1343
1344
1345
1346
1347
1348
1349

1350
1351
1352
1353
1354
1355
1356
    }

    list = Tcl_NewListObj(0, NULL);
    Tcl_MutexLock(&fontMutex);
    hPtr = Tcl_FirstHashEntry(&fileFaceHash, &search);
    while (hPtr != NULL) {
	GlyphIndexHash *ghash;

	FileFaceKey *ffKey;

	ghash = (GlyphIndexHash *) Tcl_GetHashValue(hPtr);
	ffKey = (FileFaceKey *) Tcl_GetHashKey(&fileFaceHash, hPtr);
	Tcl_ListObjAppendElement(NULL, list,
		Tcl_NewStringObj(ghash->xlfdPattern, -1));
	Tcl_ListObjAppendElement(NULL, list,