Skip to content

chaos-lang/template

Repository files navigation

Template for Chaos C Extension Developers

Fork this repository to create Chaos C extensions.

To develop a Chaos C extension, first you need to have gcc or clang and Chaos headers. To have these requirements, run:

make requirements

At bare minimum, your C extension should be able to build using gcc with:

make

and for clang:

make clang

Your package name have to match with dynamic library name, e.g. if the package name is template then it must be template(.so|.dylib|.dll) and the name field in occultist.json have to be template too.

This template provides the necessary make commands, an example C code and everything required to being compiled by occultist with proper file extensions on the target platform.

This repository also provies the example GitHub workflows to automate the testing and memory leak checks for your extension.

Useful Links

Developing Chaos C Extensions

API Reference

About

Template for Chaos C extension developers

Resources

License

Stars

Watchers

Forks

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy