Lua C Integration

Official

Lua-C integration for native extensions.

AuthorTheBushidoCollective
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Build native extensions for Lua using the C API, enabling high-performance functionality and embedding Lua as a scripting engine.

Core Features & Use Cases

  • Lua Stack Manipulation: Push/pop values between Lua and C.
  • C Modules & Userdata: Create C modules and userdata types.
  • Performance Tips: Memory management and efficient call patterns.

Quick Start

Register a simple C function as a Lua module and call it from Lua.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: Lua C Integration
Download link: https://github.com/TheBushidoCollective/han/archive/main.zip#lua-c-integration

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