examples/calculator/main.c File Reference
#include <stdio.h>
#include <mb.h>
#include "calculator_scr.h"
Go to the source code of this file.
Typedef Documentation
Definition at line 5 of file main.c.
Function Documentation
static void buttons_handler |
( |
event_t * |
evt, |
|
|
void * |
arg | |
|
) |
| | [static] |
int main |
( |
int |
argc, |
|
|
char *const |
argv[] | |
|
) |
| | |
static int real_compute |
( |
int |
op, |
|
|
int |
v1, |
|
|
int |
v2 | |
|
) |
| | [static] |
static void setup_observers |
( |
calc_data_t * |
calc_data |
) |
[static] |
static void show_text |
( |
calc_data_t * |
calc_data, |
|
|
int |
num, |
|
|
int |
saved, |
|
|
int |
op, |
|
|
const char * |
suffix | |
|
) |
| | [static] |
Variable Documentation