Pebble App Framework
main
How It Works
CLI
Device API
Phone API
C Coverage
TS Coverage
GitHub
Theme
Pebble App Framework: Device API
Toggle main menu visibility
Loading...
Searching...
No Matches
store_sum.h
Go to the documentation of this file.
1
12
#pragma once
13
#include <stddef.h>
14
#include <stdint.h>
15
20
28
#define STORE_READING_SIZE(state, stamp) \
29
((size_t)((const uint8_t *)&(state).stamp - (const uint8_t *)&(state)))
30
41
uint32_t
store_sum
(
const
void
*bytes,
size_t
size);
42
store_sum
uint32_t store_sum(const void *bytes, size_t size)
Sums a run of bytes, so two readings can be compared without keeping both.
Definition
store_sum.c:9
src
c
pebble
io
stores
store_sum.h
Generated by
1.18.0