mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the
changes from start of branch upto r22b2 were already merged, of course).
This commit is contained in:
parent
69b83b113f
commit
b3be216b41
53 changed files with 1815 additions and 300 deletions
|
@ -157,7 +157,9 @@ class WeakLinkMixIn:
|
|||
"Mix-in to test the function actually exists (!= NULL) before calling"
|
||||
|
||||
def precheck(self):
|
||||
Output('#ifndef %s', self.name)
|
||||
Output('PyMac_PRECHECK(%s);', self.name)
|
||||
Output('#endif')
|
||||
|
||||
class WeakLinkFunctionGenerator(WeakLinkMixIn, FunctionGenerator): pass
|
||||
class WeakLinkMethodGenerator(WeakLinkMixIn, MethodGenerator): pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue