mirror of https://github.com/ossrs/srs.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
250 B
C++
17 lines
250 B
C++
11 months ago
|
/*
|
||
|
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;
|
||
|
}
|