tools/generate_stubs/generate_stubs.py
def StubFunctionPointer(cls, signature):
    """Generates a function pointer declaration for the given signature.

    Args:
      signature: A signature hash, as produced by ParseSignatures,
                 representing the function signature.

    Returns:
      A string with the declaration of the function pointer for the signature.
    """
    return 'static %s (*%s_ptr)(%s) = nullptr;' % (signature['return_type'],
                                                   signature['name'], ', '.join(
                                                       signature['params']))
Generates a function pointer declaration for the given signature.

    Args:
      signature: A signature hash, as produced by ParseSignatures,
                 representing the function signature.

    Returns:
      A string with the declaration of the function pointer for the signature.
    
Generates a function pointer declaration for the given signature.
Generates a function pointer declaration for the given signature .
def StubFunctionPointer(cls, signature):
    return 'static %s (*%s_ptr)(%s) = nullptr;' % (signature['return_type'],
                                                   signature['name'], ', '.join(
                                                       signature['params']))
def StubFunctionPointer ( cls , signature ) : return 'static %s (*%s_ptr)(%s) = nullptr;' % ( signature [ 'return_type' ] , signature [ 'name' ] , ', ' . join ( signature [ 'params' ] ) )
Generates a function pointer declaration for the given signature.
Generates a function pointer declaration for the given signature .
"""Generates a function pointer declaration for the given signature.

    Args:
      signature: A signature hash, as produced by ParseSignatures,
                 representing the function signature.

    Returns:
      A string with the declaration of the function pointer for the signature.
    """
A string with the declaration of the function pointer for the signature.
A string with the declaration of the function pointer for the signature .
cls
signature
A signature hash, as produced by ParseSignatures,
representing the function signature.
A signature hash as produced by ParseSignatures representing the function signature .