Mercurial > hg > Members > koba > t_dandy
comparison ppe/chara_state28.cc @ 67:21ac9f57a6d4
Mac OS X 64bit
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 21 May 2011 16:27:41 +0900 |
parents | 6626e451a09d |
children |
comparison
equal
deleted
inserted
replaced
46:fce767bb5e25 | 67:21ac9f57a6d4 |
---|---|
5 SchedDefineTask1(State28, state28); | 5 SchedDefineTask1(State28, state28); |
6 | 6 |
7 static int | 7 static int |
8 state28(SchedTask *smanager, void *rbuf, void *wbuf) | 8 state28(SchedTask *smanager, void *rbuf, void *wbuf) |
9 { | 9 { |
10 int rand = (int)smanager->get_param(2); | 10 long rand = (long)smanager->get_param(2); |
11 | 11 |
12 int length = 2; | 12 int length = 2; |
13 CHARACTER *p = (CHARACTER*)smanager->get_input(rbuf, 0); | 13 CHARACTER *p = (CHARACTER*)smanager->get_input(rbuf, 0); |
14 int count = *(int*)smanager->get_input(rbuf, 1); | 14 int count = *(int*)smanager->get_input(rbuf, 1); |
15 | 15 |