class_docstr: The main top-level class that you instantiate once, or once per module.
  
  Example usage:
  
      ffi = FFI()
      ffi.cdef("""
          int printf(const char *, ...);
      """)
  
      C = ffi.dlopen(None)   # standard library
      -or-
      C = ffi.verify()  # use a C compiler: verify the decl above is right
  
      C.printf("hello, %s!\n", ffi.new("char[]", "world"))
class_docstr_tok: ["The","main","top-level","class","that","you","instantiate","once",",","or","once","per","module",".","Example","usage",":","ffi","=","FFI","(",")","ffi.cdef","(","``","''","''","int","printf","(","const","char","*",",","...",")",";","``","''","''",")","C","=","ffi.dlopen","(","None",")","#","standard","library","-or-","C","=","ffi.verify","(",")","#","use","a","C","compiler",":","verify","the","decl","above","is","right","C.printf","(","``","hello",",","%","s","!","\\n","''",",","ffi.new","(","``","char","[","]","''",",","``","world","''",")",")"]
code: def embedding_init_code(self, pysource):
      if self._embedding:
          raise ValueError(
              "embedding_init_code() can only be called once"
          )
      # fix 'pysource' before it gets dumped into the C file:
      # - remove empty lines at the beginning, so it starts at "line 1"
      # - dedent, if all non-empty lines are indented
      # - check for SyntaxErrors
      import re
  
      match = re.match(r"\s*\n", pysource)
      if match:
          pysource = pysource[match.end() :]
      lines = pysource.splitlines() or [""]
      prefix = re.match(r"\s*", lines[0]).group()
      for i in range(1, len(lines)):
          line = lines[i]
          if line.rstrip():
              while not line.startswith(prefix):
                  prefix = prefix[:-1]
      i = len(prefix)
      lines = [line[i:] + "\n" for line in lines]
      pysource = "".join(lines)
      #
      compile(pysource, "cffi_init", "exec")
      #
      self._embedding = pysource
  
imports: import sys, types
  from .lock import allocate_lock
  from .error import CDefError
  from .None import model
label_desc: Use image node_id 45 for calling the FFI obj's underlying member method code with example usage: obj.embedding_init_code(pysource) without return types