Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcf37b76

Browse files
authored
Merge pull request#23960 from meeseeksmachine/auto-backport-of-pr-23947-on-v3.6.x
Backport PR#23947 on branch v3.6.x (Fix building on MINGW)
2 parentsb8af722 +eac65ff commitcf37b76

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/_tkagg.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,13 +231,13 @@ bool load_tcl_tk(T lib)
231231
{
232232
// Try to fill Tcl/Tk global vars with function pointers. Return whether
233233
// all of them have been filled.
234-
if (void* ptr =dlsym(lib,"Tcl_SetVar")) {
234+
if (auto ptr =dlsym(lib,"Tcl_SetVar")) {
235235
TCL_SETVAR = (Tcl_SetVar_t)ptr;
236236
}
237-
if (void* ptr =dlsym(lib,"Tk_FindPhoto")) {
237+
if (auto ptr =dlsym(lib,"Tk_FindPhoto")) {
238238
TK_FIND_PHOTO = (Tk_FindPhoto_t)ptr;
239239
}
240-
if (void* ptr =dlsym(lib,"Tk_PhotoPutBlock")) {
240+
if (auto ptr =dlsym(lib,"Tk_PhotoPutBlock")) {
241241
TK_PHOTO_PUT_BLOCK = (Tk_PhotoPutBlock_t)ptr;
242242
}
243243
return TCL_SETVAR && TK_FIND_PHOTO && TK_PHOTO_PUT_BLOCK;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp