Mercurial > hg > Members > kono > Cerium
diff example/get_segment/spe/spe-main.cc @ 354:81b25e5d5379
add example/get_segment and change spe/DrawSpan.cpp
author | koba |
---|---|
date | Wed, 15 Jul 2009 17:39:51 +0900 |
parents | |
children | cd77224d4224 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/example/get_segment/spe/spe-main.cc Wed Jul 15 17:39:51 2009 +0900 @@ -0,0 +1,14 @@ +#include "Func.h" +#include "Scheduler.h" + +SchedExternTask(Hello); + +/** + * この関数は SpeScheduler から呼ばれるので + * 必ずこの関数名でお願いします。 + */ +void +task_init(void) +{ + SchedRegisterTask(HELLO_TASK, Hello); +}