10000 GitHub - geggo/cwrap at develop
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

geggo/cwrap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 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 branch development and feature/XXX)
  • 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
  • hav a look at the generated pxd file
less tests/result_clang/_test.pxd

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.8%
  • C 2.7%
  • C++ 0.5%
0