This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <time.h> | |
| #include <windows.h> | |
| #include <util/base.h> | |
| #include <graphics/vec2.h> | |
| #include <media-io/audio-resampler.h> | |
| #include <obs.h> | |
| #include <intrin.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void coroutine_executor_ex() { | |
| std::cout<<__FUNCTION__<<std::endl; | |
| coroutine_ref _coro_value = this; | |
| switch (_coro_value) | |
| { | |
| case -1: | |
| { | |
| if (_coro_value) | |
| { | |
| goto terminate_coroutine; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define begin() \ | |
| static unsigned int state_ = 0;\ | |
| switch (state_) \ | |
| case 0: | |
| #define _yield_impl(x_, z_) \ | |
| do { \ | |
| state_ = z_; \ | |
| ##x_; \ | |
| goto exit__;\ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mcs -target:library -out:MyAssembly.dll -r:/Applications/Unity/Unity.app/Contents/Frameworks/UnityEngine.dll MyAssembly.cs |