message: LibBalsaMessage cleanup
- Declare
LibBalsaMessage:msgno
asguint
instead ofglong
; fix the fallout and remove redundant casts. - Declare
LibBalsaMessage:length
asgint64
instead ofglong
, and revise accessors. Also usestrtoll()
to populate it instead ofatoi()
, and replace the value with-1
on error. - Remove
MESSAGE_COPY_CONTENT
macro and the code that was compiled conditionally on!defined(MESSAGE_COPY_CONTENT)
. - Reorder
LibBalsaMessage
to improve packing and reduce padding, and remove the unused memberLibBalsaMessage:updated
.
Closes #70 (closed)