tools/cwrap/plugins/__init__.py
def process_all_call_arg(self, code, option):
        """Used to modify the arguments to the underlying C function call.

        Code is the string of comma-separated arguments that will be passed to
        the wrapped C function. You can use this function to modify that string
        as you see fit. For example, THP prepends the LIBRARY_STATE definition
        so that the generated code will follow the conventions it uses for
        writing one function for both TH/THC calls.

        Args:
            code: A string as described above.
            option: dictionary containing the information for this specific
            option.

        Returns:
            The same code, modified as the plugin sees fit.

        """
        return code
Used to modify the arguments to the underlying C function call.

        Code is the string of comma-separated arguments that will be passed to
        the wrapped C function. You can use this function to modify that string
        as you see fit. For example, THP prepends the LIBRARY_STATE definition
        so that the generated code will follow the conventions it uses for
        writing one function for both TH/THC calls.

        Args:
            code: A string as described above.
            option: dictionary containing the information for this specific
            option.

        Returns:
            The same code, modified as the plugin sees fit.

        
Used to modify the arguments to the underlying C function call.
Code is the string of comma-separated arguments that will be passed to
the wrapped C function. You can use this function to modify that string
as you see fit. For example, THP prepends the LIBRARY_STATE definition
so that the generated code will follow the conventions it uses for
writing one function for both TH/THC calls.

A string as described above.
option: dictionary containing the information for this specific
option.

The same code, modified as the plugin sees fit.
Used to modify the arguments to the underlying C function call . Code is the string of comma - separated arguments that will be passed to the wrapped C function . You can use this function to modify that string as you see fit . For example THP prepends the LIBRARY_STATE definition so that the generated code will follow the conventions it uses for writing one function for both TH / THC calls . A string as described above . option : dictionary containing the information for this specific option . The same code modified as the plugin sees fit .
def process_all_call_arg(self, code, option):
        return code
def process_all_call_arg ( self , code , option ) : return code
Used to modify the arguments to the underlying C function call.
Used to modify the arguments to the underlying C function call .
"""Used to modify the arguments to the underlying C function call.

        Code is the string of comma-separated arguments that will be passed to
        the wrapped C function. You can use this function to modify that string
        as you see fit. For example, THP prepends the LIBRARY_STATE definition
        so that the generated code will follow the conventions it uses for
        writing one function for both TH/THC calls.

        Args:
            code: A string as described above.
            option: dictionary containing the information for this specific
            option.

        Returns:
            The same code, modified as the plugin sees fit.

        """
self
code
option