code: def buildcallbacks(m):
      global cb_map
      cb_map[m["name"]] = []
      for bi in m["body"]:
          if bi["block"] == "interface":
              for b in bi["body"]:
                  if b:
                      buildcallback(b, m["name"])
                  else:
                      errmess(
                          "warning: empty body for %s\n" % (m["name"])
                      )
  
imports: from __future__ import division, absolute_import, print_function
  from .None import __version__
  from .auxfuncs import applyrules, debugcapi, dictappend, errmess, getargs, hasnote, isarray, iscomplex, iscomplexarray, iscomplexfunction, isfunction, isintent_c, isintent_hide, isintent_in, isintent_inout, isintent_nothide, isintent_out, isoptional, isrequired, isscalar, isstring, isstringfunction, issubroutine, l_and, l_not, l_or, outmess, replace, stripcomma, throw_error
  from .None import cfuncs
label_desc: Use image node_id 1 for calling a global function with example usage: buildcallbacks(m) without return types