Exemple #1
0
IO_METHOD(IoCoroutine, ioStack)
{
	/*doc Coroutine ioStack
	Returns List of values on this coroutine's stack.
*/

	return IoList_newWithList_(IOSTATE, Stack_asList(DATA(self)->ioStack));
}
Exemple #2
0
IoObject *IoCoroutine_ioStack(IoCoroutine *self, IoObject *locals, IoMessage *m)
{
	/*doc Coroutine ioStack
	Returns List of values on this coroutine's stack.
*/

	return IoList_newWithList_(IOSTATE, Stack_asList(DATA(self)->ioStack));
}