summaryrefslogtreecommitdiffstats
path: root/generic/tclLoad.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-10-19 18:48:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-10-19 18:48:35 (GMT)
commit6eac416e1dac9fc63b8ad41757cc3b4cf1965b82 (patch)
tree364627b4ae36382dee748096f92f74b1977d4ae8 /generic/tclLoad.c
parent12f22db7d88ada7a15f6c0371b6dc49ef02d698d (diff)
parent9d3abb8846c9436ab40ac8ed9ecbaa9195f6e1f2 (diff)
downloadtcl-6eac416e1dac9fc63b8ad41757cc3b4cf1965b82.zip
tcl-6eac416e1dac9fc63b8ad41757cc3b4cf1965b82.tar.gz
tcl-6eac416e1dac9fc63b8ad41757cc3b4cf1965b82.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclLoad.c')
-rw-r--r--generic/tclLoad.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/generic/tclLoad.c b/generic/tclLoad.c
index 0e59c7b..a2d1919 100644
--- a/generic/tclLoad.c
+++ b/generic/tclLoad.c
@@ -194,7 +194,7 @@ Tcl_LoadObjCmd(
Tcl_SetObjResult(interp, Tcl_NewStringObj(
"must specify either file name or prefix", -1));
Tcl_SetErrorCode(interp, "TCL", "OPERATION", "LOAD", "NOLIBRARY",
- NULL);
+ (void *)NULL);
code = TCL_ERROR;
goto done;
}
@@ -260,7 +260,7 @@ Tcl_LoadObjCmd(
"file \"%s\" is already loaded for prefix \"%s\"",
fullFileName, libraryPtr->prefix));
Tcl_SetErrorCode(interp, "TCL", "OPERATION", "LOAD",
- "SPLITPERSONALITY", NULL);
+ "SPLITPERSONALITY", (void *)NULL);
code = TCL_ERROR;
Tcl_MutexUnlock(&libraryMutex);
goto done;
@@ -297,7 +297,7 @@ Tcl_LoadObjCmd(
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"no library with prefix \"%s\" is loaded statically", prefix));
Tcl_SetErrorCode(interp, "TCL", "OPERATION", "LOAD", "NOTSTATIC",
- NULL);
+ (void *)NULL);
code = TCL_ERROR;
goto done;
}
@@ -359,7 +359,7 @@ Tcl_LoadObjCmd(
"couldn't figure out prefix for %s",
fullFileName));
Tcl_SetErrorCode(interp, "TCL", "OPERATION", "LOAD",
- "WHATLIBRARY", NULL);
+ "WHATLIBRARY", (void *)NULL);
code = TCL_ERROR;
goto done;
}
@@ -456,7 +456,7 @@ Tcl_LoadObjCmd(
"can't use library in a safe interpreter: no"
" %s_SafeInit procedure", libraryPtr->prefix));
Tcl_SetErrorCode(interp, "TCL", "OPERATION", "LOAD", "UNSAFE",
- NULL);
+ (void *)NULL);
code = TCL_ERROR;
goto done;
}
@@ -467,7 +467,7 @@ Tcl_LoadObjCmd(
"can't attach library to interpreter: no %s_Init procedure",
libraryPtr->prefix));
Tcl_SetErrorCode(interp, "TCL", "OPERATION", "LOAD", "ENTRYPOINT",
- NULL);
+ (void *)NULL);
code = TCL_ERROR;
goto done;
}
@@ -627,7 +627,7 @@ Tcl_UnloadObjCmd(
Tcl_SetObjResult(interp, Tcl_NewStringObj(
"must specify either file name or prefix", -1));
Tcl_SetErrorCode(interp, "TCL", "OPERATION", "UNLOAD", "NOLIBRARY",
- NULL);
+ (void *)NULL);
code = TCL_ERROR;
goto done;
}
@@ -695,7 +695,7 @@ Tcl_UnloadObjCmd(
"library with prefix \"%s\" is loaded statically and cannot be unloaded",
prefix));
Tcl_SetErrorCode(interp, "TCL", "OPERATION", "UNLOAD", "STATIC",
- NULL);
+ (void *)NULL);
code = TCL_ERROR;
goto done;
}
@@ -707,7 +707,7 @@ Tcl_UnloadObjCmd(
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"file \"%s\" has never been loaded", fullFileName));
Tcl_SetErrorCode(interp, "TCL", "OPERATION", "UNLOAD", "NEVERLOADED",
- NULL);
+ (void *)NULL);
code = TCL_ERROR;
goto done;
}
@@ -737,7 +737,7 @@ Tcl_UnloadObjCmd(
"file \"%s\" has never been loaded in this interpreter",
fullFileName));
Tcl_SetErrorCode(interp, "TCL", "OPERATION", "UNLOAD", "NEVERLOADED",
- NULL);
+ (void *)NULL);
code = TCL_ERROR;
goto done;
}
@@ -800,7 +800,7 @@ UnloadLibrary(
"file \"%s\" cannot be unloaded under a safe interpreter",
fullFileName));
Tcl_SetErrorCode(interp, "TCL", "OPERATION", "UNLOAD", "CANNOT",
- NULL);
+ (void *)NULL);
code = TCL_ERROR;
goto done;
}
@@ -813,7 +813,7 @@ UnloadLibrary(
"file \"%s\" cannot be unloaded under a trusted interpreter",
fullFileName));
Tcl_SetErrorCode(interp, "TCL", "OPERATION", "UNLOAD", "CANNOT",
- NULL);
+ (void *)NULL);
code = TCL_ERROR;
goto done;
}