X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=blobdiff_plain;f=nucleus%2Flibrary%2Fstructures%2Fobject_packers.cpp;fp=nucleus%2Flibrary%2Fstructures%2Fobject_packers.cpp;h=37a7c5bccd8a51c11313e1b22e535e57d5fd4f6d;hp=233ee8add41097e19f2e20f899a50d140bc895fa;hb=de0da7f2f7958d4ba652ff2ef5c79991700141ac;hpb=a4c99c6006b3aa20b5f65f02c2d30db7e790083a 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)); }