Mercurial > hg > Members > kono > Cerium
view example/post_function/spe/Hello.cc @ 354:81b25e5d5379
add example/get_segment and change spe/DrawSpan.cpp
author | koba |
---|---|
date | Wed, 15 Jul 2009 17:39:51 +0900 |
parents | 5c194c71eca8 |
children | 44c0bce54dcf |
line wrap: on
line source
#include <stdio.h> #include "SchedTask.h" #include "Hello.h" #include "Func.h" /* これは必須 */ SchedDefineTask(Hello); int Hello::run(void *rbuf, void *wbuf) { int id = get_param(0); printf("Hello, World!! post_func output %d\n", id); return 0; }