cangjie-ffi

Community

Seamlessly integrate Cangjie with C code.

AuthorSunriseSummer
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill bridges the gap between Cangjie and C, enabling developers to leverage existing C libraries and write high-performance code by interacting with C functions and data structures directly from Cangjie.

Core Features & Use Cases

  • Foreign Function Interface (FFI): Declare and call C functions from Cangjie, and vice-versa.
  • Type Mapping: Supports mapping of fundamental C types, structs, pointers, arrays, and strings to their Cangjie equivalents.
  • Memory Management: Provides tools for safe memory allocation and deallocation when interacting with C.
  • Use Case: Integrate a high-performance C library for image processing into a Cangjie application, or expose Cangjie functions to be called by a C program.

Quick Start

Use the cangjie-ffi skill to call the C function drawPoint with a Cangjie struct.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cangjie-ffi
Download link: https://github.com/SunriseSummer/CangjieDocValidator/archive/main.zip#cangjie-ffi

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.