class_docstr: Interface specification for `Type`\s that can be arguments to a `CLinkerOp`.
  
  A `CLinkerType` instance is mainly responsible  for providing the C code that
  interfaces python objects with a C `CLinkerOp` implementation.
class_docstr_tok: ["Interface","specification","for","`","Type","`","\\s","that","can","be","arguments","to","a","`","CLinkerOp","`",".","A","`","CLinkerType","`","instance","is","mainly","responsible","for","providing","the","C","code","that","interfaces","python","objects","with","a","C","`","CLinkerOp","`","implementation","."]
docstr: Return C code to initialize the variables that were declared by :meth:`CLinkerType.c_declare`.
  
  Notes
  -----
  The variable called `name` is not necessarily defined yet
  where this code is inserted. This code might be inserted in a
  class constructor for example, whereas the variable `name`
  might only exist inside certain functions in that class.
  
  TODO: Why should variable initialization fail?  Is it even allowed to?
  
  Examples
  --------
  
  .. code-block: python
  
      def c_init(self, name, sub):
          return "addr_of_%(name)s = NULL;"
code: def c_init(self, name: str, sub: dict[str, str]) -> str:
      """Return C code to initialize the variables that were declared by :meth:`CLinkerType.c_declare`.
  
      Notes
      -----
      The variable called `name` is not necessarily defined yet
      where this code is inserted. This code might be inserted in a
      class constructor for example, whereas the variable `name`
      might only exist inside certain functions in that class.
  
      TODO: Why should variable initialization fail?  Is it even allowed to?
  
      Examples
      --------
  
      .. code-block: python
  
          def c_init(self, name, sub):
              return "addr_of_%(name)s = NULL;"
  
      """
  
imports: import typing
  import warnings
  from abc import abstractmethod
  from typing import Callable, Optional
  from pytensor.graph.basic import Apply, Constant
  from pytensor.graph.utils import MethodNotDefined
label_desc: Use image node_id 2 for calling the CLinkerType obj's underlying member method code with example usage: obj.c_init(name, sub) without return types