Comments (7)
Hmm yes sorry its related to trolldbois/clang#1 and a patch that did not go through LLVM last year.
The ctypeslib master branch should not have had that commited.
My bad.
I will try to find you a proper ctypeslib revision.
Can you pull from github ?
from ctypeslib.
I will need compile trolldbois/clang#1 with this patch or some binary (.deb package ) will be published in a few days?
from ctypeslib.
Well, if you are adventurous, you can compile llvm and clang from upstream with the patch above, then ctypeslib should work.
If you are less adventurous, you could a different ctypeslib :
Either a) [BEST CHOICE] the locality branch here https://github.com/trolldbois/ctypeslib/tree/locality , as it seems that branch does not contains reference to that patch.
or b) an commit around 1f59042 of branch master
If you are even less adventurous, you can wait for a few days.
Either the patch will go in LLVM/clang (it took 3 months for a review last time), or I might have fixed ctypeslib by then.
Question: Where did you get ctypeslib from ? What version are you running ?
from ctypeslib.
I get ctypeslib from the master branch. Version ctypeslib2-2.0rc3
I'm trying to get a way to access via Python the functions defined in this header NBioAPI_IndexSearch.h
ps. Sorry my ugly English. I do not speak English, but the google translator yes (with several manual corrections)
from ctypeslib.
I would like to understand how this project works, then some minimum documentation of how to properly use the parameters of clang2py would be good.
for example, NBioAPI_IndexSearch.h depends on a proprietary library in binary format ( libNBioBSP.so )
is need to do something else in this case?
from ctypeslib.
I will try to produce some documentation updates.
It seems that you want to have python bindings for the mbiosearch library.
I havent looked into python bindings generation framework for a while but I would recommend you look into http://www.swig.org/ or a similar project.
google:"how to create python bindings"
The state of ctypeslib is not necessarly mature enough.
from ctypeslib.
llvm clang is patched
from ctypeslib.
Related Issues (20)
- Request: identify "top level" structs
- Parsing a variadic macro makes clang2py crash HOT 1
- Define with parenthesis not parsed HOT 1
- clang2py not installed in "/usr/bin" HOT 1
- define didn't convert to python HOT 1
- Add if Windows 32bit use WinDLL instead CDLL HOT 1
- Use of "-r" option makes clang2py crash HOT 2
- do not support enum without name HOT 3
- Nested named structs names are not detected. HOT 8
- No output from clang2py even for simple headers - CLANG compatibility issues HOT 6
- ctypeslib2 gives following error on any anaconda environment whenever installed with pip. HOT 3
- AttributeError: 'Output' object has no attribute 'options' HOT 1
- clang dependecy issue in version 2.3.2 (ubuntu 20.04) HOT 6
- Macro values with parenthesis are not converted HOT 2
- File format has no dynamic symbol table HOT 1
- get_version() access violation on clang 17.0.2 HOT 2
- C++ interface HOT 1
- Add __slots__ to structs HOT 4
- macOS quirks HOT 1
- as_dict() is broken for arrays of Structures
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ctypeslib.