Mercurial > hg > Game > Cerium
view example/HelloWorld/spe/Hello.cc @ 426:69e32bb76373 draft
minor fix.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 24 Sep 2009 17:44:30 +0900 |
parents | 768452fab95e |
children | 839e34d0cc3c |
line wrap: on
line source
#include <stdio.h> #include "Hello.h" #include "Func.h" /* これは必須 */ SchedDefineTask(Hello); int Hello::run(SchedTask *smanager, void *rbuf, void *wbuf) { int task_id = get_param(0); printf("[%d] Hello, World!!\n", task_id); return 0; }