diff options
| author | Bernhard Boser <boser@berkeley.edu> | 2020-12-10 10:59:26 -0800 |
|---|---|---|
| committer | Bernhard Boser <boser@berkeley.edu> | 2020-12-10 10:59:26 -0800 |
| commit | 6d2329fb09ce47eaa5cdf0dbf9c5e1e1ef37632a (patch) | |
| tree | 5dd13ac7c3e9a19bec016cb95be570775acf3231 /shared-bindings/msgpack/__init__.c | |
| parent | 3c724321d863c79dce0ec4d11e12fd6c9fa27c4c (diff) | |
add blank lines after all comment sections
Diffstat (limited to 'shared-bindings/msgpack/__init__.c')
| -rw-r--r-- | shared-bindings/msgpack/__init__.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/shared-bindings/msgpack/__init__.c b/shared-bindings/msgpack/__init__.c index 06c3900b5..b41b32d45 100644 --- a/shared-bindings/msgpack/__init__.c +++ b/shared-bindings/msgpack/__init__.c @@ -79,6 +79,8 @@ //| decoded = unpack(buffer, ext_hook=decoder) //| print(f"{data} -> {buffer.getvalue()} -> {decoded}") //| """ +//| ... +//| //| def pack(obj: object, buffer: WriteableBuffer, *, default: Union[Callable[[object], None], None] = None) -> None: //| """Ouput object to buffer in msgpack format. @@ -88,7 +90,8 @@ //| function called for python objects that do not have //| a representation in msgpack format. //| """ - +//| ... +//| STATIC mp_obj_t mod_msgpack_pack(size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) { enum { ARG_obj, ARG_buffer, ARG_default }; STATIC const mp_arg_t allowed_args[] = { @@ -118,7 +121,8 @@ MP_DEFINE_CONST_FUN_OBJ_KW(mod_msgpack_pack_obj, 1, mod_msgpack_pack); //| :param Optional[bool] use_list: return array as list or tuple (use_list=False). //| :return object: object read from buffer. //| """ - +//| ... +//| STATIC mp_obj_t mod_msgpack_unpack(size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) { enum { ARG_buffer, ARG_ext_hook, ARG_use_list }; STATIC const mp_arg_t allowed_args[] = { |
