(self, src)
Updates self.func_ptrs_dict.
Updates self.func_ptrs_dict.
Updates self . func_ptrs_dict .
def parse_function_pointers(self, src):
    """Updates self.func_ptrs_dict."""
    parser = header_parsing.MJAPI_FUNCTION_PTR
    for token, _, _ in parser.scanString(src):
      name = codegen_util.mangle_varname(token.name)
      self.func_ptrs_dict[name] = c_declarations.FunctionPtr(
          name, symbol_name=token.name,
          type_name=token.typename, comment=token.comment)
def parse_function_pointers ( self , src ) : parser = header_parsing . MJAPI_FUNCTION_PTR for token , _ , _ in parser . scanString ( src ) : name = codegen_util . mangle_varname ( token . name ) self . func_ptrs_dict [ name ] = c_declarations . FunctionPtr ( name , symbol_name = token . name , type_name = token . typename , comment = token . comment )