Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
fe38d299
Commit
fe38d299
authored
Jul 03, 2000
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PyMac_FindModuleExtension now uses a size_t as its size parameter for compatibility.
parent
db638294
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Mac/Include/macglue.h
Mac/Include/macglue.h
+1
-1
Mac/Python/macimport.c
Mac/Python/macimport.c
+1
-1
No files found.
Mac/Include/macglue.h
View file @
fe38d299
...
...
@@ -93,7 +93,7 @@ int PyMac_FindResourceModule(PyStringObject *, char *, char *); /* Test for 'PYC
PyObject
*
PyMac_LoadResourceModule
(
char
*
,
char
*
);
/* Load 'PYC ' resource from file */
int
PyMac_FindCodeResourceModule
(
PyStringObject
*
,
char
*
,
char
*
);
/* Test for 'PYD ' resource in a file */
PyObject
*
PyMac_LoadCodeResourceModule
(
char
*
,
char
*
);
/* Load 'PYD ' resource from file */
struct
filedescr
*
PyMac_FindModuleExtension
(
char
*
,
in
t
*
,
char
*
);
/* Look for module in single folder */
struct
filedescr
*
PyMac_FindModuleExtension
(
char
*
,
size_
t
*
,
char
*
);
/* Look for module in single folder */
int
PyMac_GetDirectory
(
FSSpec
*
dirfss
,
char
*
prompt
);
/* Ask user for a directory */
void
PyMac_PromptGetFile
(
short
numTypes
,
ConstSFTypeListPtr
typeList
,
...
...
Mac/Python/macimport.c
View file @
fe38d299
...
...
@@ -407,7 +407,7 @@ error:
** pathname of the module found (if any).
*/
struct
filedescr
*
PyMac_FindModuleExtension
(
char
*
buf
,
in
t
*
lenp
,
char
*
module
)
PyMac_FindModuleExtension
(
char
*
buf
,
size_
t
*
lenp
,
char
*
module
)
{
struct
filedescr
*
fdp
;
unsigned
char
fnbuf
[
64
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment