This file contains 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
""" | |
An event loop policy that integrates Windows message loop with IOCP-based async processing. | |
Usage: | |
asyncio.set_event_loop_policy(winmsgasyncio.MsgProactorEventLoopPolicy()) | |
To integerate with tkinter, use tk_sync_mainloop(root) or await tk_async_mainloop(root). | |
""" | |
# SPDX-License-Identifier: MIT |
This file contains 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
# SPDX-License-Identifier: MIT | |
# Copyright (c) 2021 David Lechner <[email protected]> | |
# A program for LEGO MINDSTORMS Robot Inventor - Gelo | |
# Developed using MINDSTORMS App v1.3.4 (10.1.0), hub firmware v1.2.01.0103 | |
# Building instructions: https://www.lego.com/cdn/product-assets/product.bi.additional.main.pdf/51515_Gelo.pdf | |
# Hub API: https://lego.github.io/MINDSTORMS-Robot-Inventor-hub-API/ |
This file contains 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 "winrt/Windows.Foundation.h" | |
struct __declspec(uuid("5b0d3235-4dba-4d44-865e-8f1d0e4fd04d")) __declspec(novtable) IMemoryBufferByteAccess : ::IUnknown | |
{ | |
virtual HRESULT __stdcall GetBuffer(uint8_t** value, uint32_t* capacity) = 0; | |
}; | |
using namespace winrt; | |
using namespace Windows::Foundation; |
This file contains 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
/// This imap folder cannot have children :-( | |
const nsMsgFolderFlagType ImapNoinferiors = 0x04000000; |