mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-19 04:52:59 +01:00
Remove an unused function: xs_unpack_limit
This commit is contained in:
parent
c694f1a4a9
commit
6852a8ca9d
@ -235,21 +235,6 @@ STATIC_INLINE SV* _msgpack_unpack(SV* data, size_t limit PERL_UNUSED_DECL) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
XS(xs_unpack_limit) {
|
|
||||||
dXSARGS;
|
|
||||||
|
|
||||||
if (items != 3) {
|
|
||||||
Perl_croak(aTHX_ "Usage: Data::MessagePack->unpack('datadata', $limit)");
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
int limit = SvIV(ST(2));
|
|
||||||
ST(0) = _msgpack_unpack(ST(1), limit);
|
|
||||||
}
|
|
||||||
XSRETURN(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
XS(xs_unpack) {
|
XS(xs_unpack) {
|
||||||
dXSARGS;
|
dXSARGS;
|
||||||
SV* const data = ST(1);
|
SV* const data = ST(1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user