src: reduce macro usage
src: inline SLICE_START_END()
in node_buffer.cc
This macro is only used once, so it doesn’t need to be a macro.
src: turn GET_OFFSET()
into an inline function
There’s no need for this to be a macro.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines