mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
17 lines
250 B
C++
17 lines
250 B
C++
|
/*
|
||
|
g++ hello-st.cpp ../../objs/st/libst.a -g -O0 -o hello-st && ./hello-st
|
||
|
*/
|
||
|
#include <stdio.h>
|
||
|
#include "../../objs/st/st.h"
|
||
|
|
||
|
void foo() {
|
||
|
st_init();
|
||
|
st_sleep(1);
|
||
|
printf("Hello World, ST!\n");
|
||
|
}
|
||
|
|
||
|
int main() {
|
||
|
foo();
|
||
|
return 0;
|
||
|
}
|