Skip to content

vmx/cwrap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libclang based frontend for cwrap

cwrap, written by Chris Colbert, is a tool for the automatic generation of Cython declarations (pxd files) from C header files.

This fork adds another frontend, using libclang of the llvm-project for parsing C/C++.

Getting started

  • checkout (note development happens in development and feature branches)
  • copy binary of libclang library (libclang.so, libclang.dylib or libclang.dll), contained in llvm binary distribution into .../cwrap/frontends/clang/clang
  • try it (in cwrap):
python runtest.py tests/test.h
  • have a look at the generated pxd file
less tests/result_clang/_test.pxd

Current status

This project is in it's early stage. Don't expect to get useful results.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.9%
  • C 2.3%
  • Other 0.8%