Issue #3080: Mark PyWin_FindRegisteredModule() as private

This function was not declared in Python public API (in any .h file) and not
documented. Mark it as private to prepare a change of its API.
This commit is contained in:
Victor Stinner 2011-02-22 23:12:28 +00:00
parent cfbcdbbbf2
commit 9b99b448f7
2 changed files with 7 additions and 7 deletions

View file

@ -15,10 +15,10 @@
/* a string loaded from the DLL at startup */
extern const char *PyWin_DLLVersionString;
FILE *PyWin_FindRegisteredModule(const char *moduleName,
struct filedescr **ppFileDesc,
char *pathBuf,
Py_ssize_t pathLen)
FILE *_PyWin_FindRegisteredModule(const char *moduleName,
struct filedescr **ppFileDesc,
char *pathBuf,
Py_ssize_t pathLen)
{
char *moduleKey;
const char keyPrefix[] = "Software\\Python\\PythonCore\\";