MCPcopy Create free account
hub / github.com/apache/qpid-proton / declaration

Function declaration

c/src/protocol.py:122–126  ·  view source on GitHub ↗
(field)

Source from the content-addressed store, hash-verified

120
121
122def declaration(field):
123 name = fname(field)
124 type = ftype(field)
125 t, pre, post = TYPEMAP.get(type, (type, "", ""))
126 return t, "%s%s%s" % (pre, name, post)
127
128
129def field_kw(field):

Callers

nothing calls this directly

Calls 3

fnameFunction · 0.85
ftypeFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected