Home | History | Annotate | Download | only in Modules

Lines Matching defs:pack

1 /* struct module -- pack values into and (out of) strings */

33 int (*pack)(char *, PyObject *,
335 [pu] distiguishes between pack (to struct) and unpack (from struct).
1520 * Guts of the pack function.
1571 } else if (e->pack(res, v, e) < 0) {
1588 "S.pack(v1, v2, ...) -> string\n\
1606 "pack requires exactly %zd arguments", soself->s_len);
1627 Pack the values v1, v2, ... according to this Struct's format, write \n\
1699 {"pack", s_pack, METH_VARARGS, s_pack__doc__},
1823 pack(PyObject *self, PyObject *args)
1849 "Pack the values v1, v2, ... according to fmt.\n\
1931 {"pack", pack, METH_VARARGS, pack_doc},
2021 ptr->pack = native->pack;