-
Notifications
You must be signed in to change notification settings - Fork 85
main
Chris Petersen edited this page Oct 16, 2014
·
1 revision
main defines the structure of programs, with initiation, main loop and termination functions, as well as optional suspension and resume functions for some mobile platforms.
Parameter | Description |
---|---|
p1 | Function to be run before main loop is initialized, e.g. GUI setup |
p2 | Main loop function, which is called constantly throughout the application's life |
p3 | Function to be run when the application is to be terminated |
p4 | Optional: Function, which is called when the application is suspended (e.g. to disable gui rendering) |
p5 | Optional: Function, which is called when the application is resumed (e.g. to re-establish gui rendering) |
For an example please see the bottom of either apps/DemoHelloWorld/main.scm or apps/uSquish/main.scm
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip