mcpp index

compat.utf8proc

#include

Clean, small, and portable C library for processing UTF-8 Unicode data

#include <utf8proc.h>
mcpp add compat.utf8proc@2.10.0

用法

來自本倉庫自己的測試專案 —— CI 真的編譯並執行過,不是為了網站寫的。

#include <utf8proc.h>

#include <cstdlib>
#include <cstring>
#include <iostream>
#include <string>
#include <string_view>

namespace {

bool Expect(bool ok, const char* msg) {
  if (!ok) {
    std::cerr << "FAIL: " << msg << "\n";
  }
  return ok;
}

} // namespace

int main() {
  bool ok = true;

// …

tests/examples/utf8proc/tests/utf8proc.cpp · 專案 tests/examples/utf8proc

建置

targets
utf8proc (lib)
language
c++23
C standard
c11
import std
no
include dirs
*

功能

功能宣告了
defaultimplies
staticlibdefines

原始檔 (1)

  • */utf8proc.c

版本

版本平台 鏡像sha256
2.10.0 最新 LinuxWindowsmacOS CN GLOBAL 6f4f1b639daa…