| 192 | * |
| 193 | *---------------------------------------------------------------------- |
| 194 | */ |
| 195 | |
| 196 | Tcl_Obj * |
| 197 | Tcl_GetStartupScript( |
| 198 | CONST char **encodingPtr) /* When not NULL, points to storage for the |
| 199 | * (CONST char *) that points to the |
| 200 | * registered encoding name for the startup |
| 201 | * script */ |
| 202 | { |
| 203 | if (encodingPtr != NULL) { |
| 204 | if (tclStartupScriptEncoding == NULL) { |
| 205 | *encodingPtr = NULL; |
| 206 | } else { |
| 207 | *encodingPtr = Tcl_GetString(tclStartupScriptEncoding); |
| 208 | } |
| 209 | } |
| 210 | return tclStartupScriptPath; |
| 211 | } |
| 212 |
no outgoing calls
no test coverage detected