Research: Add simple ST
This commit is contained in:
parent
941fdebd24
commit
ae56293b27
14
trunk/research/frame/st0.cpp
Normal file
14
trunk/research/frame/st0.cpp
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
g++ st0.cpp ../../objs/st/libst.a -g -O0 -o st && ./st
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include "../../objs/st/st.h"
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
st_init();
|
||||
for (;;) {
|
||||
st_usleep(1000 * 1000);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user