X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Fstructures%2Fobject_packers.cpp;h=37a7c5bccd8a51c11313e1b22e535e57d5fd4f6d;hb=0ab6f33ed5210d12ffd170c01bfb3e0248121623;hp=233ee8add41097e19f2e20f899a50d140bc895fa;hpb=28e22792f4a695334fd5cc80b5a7a2774cec9432;p=feisty_meow.git diff --git a/nucleus/library/structures/object_packers.cpp b/nucleus/library/structures/object_packers.cpp index 233ee8ad..37a7c5bc 100644 --- a/nucleus/library/structures/object_packers.cpp +++ b/nucleus/library/structures/object_packers.cpp @@ -110,6 +110,12 @@ void attach(byte_array &packed_form, int to_attach) bool detach(byte_array &packed_form, int &to_detach) { return detach(packed_form, (basis::un_int &)to_detach); } +void attach(byte_array &packed_form, signed_long to_attach) +{ attach(packed_form, basis::signed_long(to_attach)); } + +bool detach(byte_array &packed_form, signed_long &to_detach) +{ return detach(packed_form, (basis::signed_long &)to_detach); } + //void attach(byte_array &packed_form, basis::un_long to_attach) //{ attach(packed_form, basis::un_int(to_attach)); }