Pebble App Framework
v4.6.0
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
tuple_read.h
Go to the documentation of this file.
1
15
#pragma once
16
#include <pebble.h>
17
22
34
int32_t
tuple_int_or
(
const
Tuple *tuple, int32_t fallback);
35
44
const
char
*
tuple_str_or
(
const
Tuple *tuple,
const
char
*fallback);
45
tuple_int_or
int32_t tuple_int_or(const Tuple *tuple, int32_t fallback)
Reads an int tuple, whatever width the phone sent it at.
Definition
tuple_read.c:11
tuple_str_or
const char * tuple_str_or(const Tuple *tuple, const char *fallback)
Reads a cstring tuple, or the fallback when it is not one that can be read.
Definition
tuple_read.c:22
src
c
pebble
io
tuple_read.h
Generated by
1.18.0