Mercurial > hg > Game > Cerium
view example/HelloWorld/spe/Hello.cc @ 354:cfd20d609ace draft
add example/get_segment and change spe/DrawSpan.cpp
author | koba |
---|---|
date | Wed, 15 Jul 2009 17:39:51 +0900 |
parents | 028ffc9c0375 |
children | 69e32bb76373 |
line wrap: on
line source
#include <stdio.h> #include "Hello.h" #include "Func.h" /* これは必須 */ SchedDefineTask(Hello); int Hello::run(void *rbuf, void *wbuf) { int task_id = get_param(0); printf("[%d] Hello, World!!\n", task_id); return 0; }