#pragma once #define RC_CONTEXT int __s; #define RC_INIT() int __s = 0; #define RC_START() switch (__s) { case 0: #define CR_CALL(x) __s = __LINE__;