summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/threading/coroutine.h
blob: 1ac6b216878bc9d906e8a9a632d80858624802da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef __ASURA_COROUTINE_H__
#define __ASURA_COROUTINE_H__

#include <asura-lib-utils/scripting/portable.hpp>

namespace AsuraEngine
{
	namespace Threading
	{

		///
		/// luaЭ̣һЩ߼
		///
		class Coroutine ASURA_FINAL
			: public AEScripting::Portable<Coroutine>
		{
		public:

			LUAX_DECL_FACTORY(Coroutine);

		private:

			LUAX_DECL_METHOD(_New);
			LUAX_DECL_METHOD(_Run);

		};

	}
}

#endif