MCPcopy Create free account
hub / github.com/OpenDUNE/OpenDUNE / BitArray_Set

Function BitArray_Set

src/tools.c:327–330  ·  view source on GitHub ↗

* Set a bit in a bit array. * @param array Bit array. * @param index Index in the array. */

Source from the content-addressed store, hash-verified

325 * @param index Index in the array.
326 */
327void BitArray_Set(uint8 *array, uint16 index)
328{
329 array[index >> 3] |= (1 << (index & 7));
330}
331
332/**
333 * Clear a bit in a bit array.

Callers 7

Map_InvalidateSelectionFunction · 0.85
Map_UpdateFunction · 0.85
Map_UpdateAroundFunction · 0.85
Map_MarkTileDirtyFunction · 0.85
GUI_DrawScreenFunction · 0.85
GUI_Widget_Viewport_DrawFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected