Skip to content

Commit

Permalink
fixup! Split an overly general function into two functions
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorng committed Aug 5, 2024
1 parent 5777368 commit aebac34
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions erts/emulator/beam/erl_bits.c
Original file line number Diff line number Diff line change
Expand Up @@ -2392,10 +2392,11 @@ erts_copy_bits_fwd(const byte* src, /* Base pointer to source. */
}

/*
* The basic bit copy operation. Copies n bits from the source buffer to
* the destination buffer. The source pointer is incremented, whereas the
* destination pointer is decremented, resulting in a reversal of the
* stored bytes.
* The reverse bit copy operation. Copies n bits from the source
* buffer to the destination buffer. The bits are read 8 bits at the
* time from the source buffer, while incrementing the source buffer
* pointer. The 8 bit groups are stored into the destination buffer,
* while decrementing the destination buffer pointer.
*/

void
Expand Down

0 comments on commit aebac34

Please sign in to comment.