Skip to content

Instantly share code, notes, and snippets.

@jdoxey
Last active August 29, 2015 14:07
Show Gist options
  • Save jdoxey/4f7dc8e0bf61746565b6 to your computer and use it in GitHub Desktop.
Save jdoxey/4f7dc8e0bf61746565b6 to your computer and use it in GitHub Desktop.
#include <pebble.h>
int main(void) {
// setup
Window *first_window = window_create();
window_stack_push(first_window, true);
// start run loop
app_event_loop();
// cleanup
window_destroy(first_window);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment