1. 08 Mar, 2022 1 commit
    • Chris Bracken's avatar
      Check string size before Win32 MultiByte <-> WideChar conversions (#99729) · b5d3c432
      Chris Bracken authored
      This patch adds an additional check to ensure the target length of a string is within the supported maximum string length prior to calling WideCharToMultiByte/MultiByteToWideChar in the Windows runner template.
      
      This is to prevent resize() from failing if called with a count > std::string::max_size().
      
      According to Win32 API docs (WideCharToMultiByte, MultiByteToWideChar) it's the caller responsibility to make sure the buffers are correctly allocated.
      
      Authored by: Tomasz Gucio <tgucio@gmail.com>
      b5d3c432
  2. 25 Aug, 2021 1 commit
    • Greg Spencer's avatar
      Extract Sample code into examples/api (#87280) · 33403bd2
      Greg Spencer authored
      This extracts the sample code out from the API doc comments, and places them in separate files on disk, allowing running of the examples locally, testing them, and building of slightly larger examples.
      33403bd2
  3. 07 Jun, 2021 1 commit
  4. 28 Sep, 2020 1 commit
  5. 03 May, 2020 1 commit