summaryrefslogtreecommitdiff
path: root/win32/win32.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-02-20 20:09:16 +0000
committerNicholas Clark <nick@ccl4.org>2009-02-20 20:16:12 +0000
commite6a0bbf8b4e00dca6da011b9cb1d8c949b3bfa1e (patch)
tree4fb59c91c234617af3526425a3b8123c2c5a2bab /win32/win32.h
parentfd2c5c6c3907b40a30d10beb189791226562c647 (diff)
downloadperl-e6a0bbf8b4e00dca6da011b9cb1d8c949b3bfa1e.tar.gz
Add a parameter to win32_get_{priv,site,vendor}lib(), to return the length,
as we already know it, and use it in S_init_perllib() to save a strlen() in S_incpush_use_sep().
Diffstat (limited to 'win32/win32.h')
-rw-r--r--win32/win32.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/win32.h b/win32/win32.h
index 7bfeb15503..7b9c8d08d7 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -345,9 +345,9 @@ extern FILE * my_fdopen(int, char *);
#endif
extern int my_fclose(FILE *);
extern int my_fstat(int fd, Stat_t *sbufptr);
-extern char * win32_get_privlib(const char *pl);
-extern char * win32_get_sitelib(const char *pl);
-extern char * win32_get_vendorlib(const char *pl);
+extern char * win32_get_privlib(const char *pl, STRLEN *const len);
+extern char * win32_get_sitelib(const char *pl, STRLEN *const len);
+extern char * win32_get_vendorlib(const char *pl, STRLEN *const len);
extern int IsWin95(void);
extern int IsWinNT(void);