parameters: (self, cat)
return_statement: return ret
docstring: Generate code to register function.
docstring_summary: Generate code to register function.
docstring_tokens: Generate code to register function .
function: def generateRegistrations(self, cat):
          """Generate code to register function."""
          ret = '    /* ' + cat.displayName + ' */\n'
          stub = '    gh_new_procedure("%s", %s, 1, 0, 0);\n'
          for func in cat.functions(self.name_): 
              ret += stub % (func.name(), func.name())
          return ret
function_tokens: def generateRegistrations ( self , cat ) : ret = '    /* ' + cat . displayName + ' */\n' stub = '    gh_new_procedure("%s", %s, 1, 0, 0);\n' for func in cat . functions ( self . name_ ) : ret += stub % ( func . name ( ) , func . name ( ) ) return ret