skarsnik / gptrixie Goto Github PK
View Code? Open in Web Editor NEWA tool to generate NativeCall code from C headers
License: Artistic License 2.0
A tool to generate NativeCall code from C headers
License: Artistic License 2.0
For whatever reason, I have a hard time finding this module. When I search the docs the name still doesn't click for me until I read the "fine print."
I wish for several things:
This was encountered when attempting to run it on GraphicsMagick using gptrixie --enums --functions --structs --castxml=c99 api.h -I..
Encountered a non know FundamentalType (long double), either it missing in DG dic or you need to do something specific
in block at /home/cbwood/Projects/rakudobrew/versions/moar-blead/install/share/perl6/site/sources/403A5E73B433ECBC2EEF7658DFFA5BFAD92DBDC6 (GPT::DumbGenerator) line 103
Malformed UTF-8 near bytes 6c e9 6d
in sub extract-func-definition at /home/cbwood/Projects/rakudobrew/versions/moar-blead/install/share/perl6/site/sources/403A5E73B433ECBC2EEF7658DFFA5BFAD92DBDC6 (GPT::DumbGenerator) line 143
in sub dg-generate-functions at /home/cbwood/Projects/rakudobrew/versions/moar-blead/install/share/perl6/site/sources/403A5E73B433ECBC2EEF7658DFFA5BFAD92DBDC6 (GPT::DumbGenerator) line 155
in sub MAIN at /home/cbwood/Projects/rakudobrew/versions/moar-blead/install/share/perl6/site/resources/E1C3516BEF69276E7298DB57A82D9E0553314ECD line 161
in block <unit> at /home/cbwood/Projects/rakudobrew/versions/moar-blead/install/share/perl6/site/resources/E1C3516BEF69276E7298DB57A82D9E0553314ECD line 16
in sub MAIN at /home/cbwood/Projects/rakudobrew/versions/moar-blead/install/share/perl6/site/bin/gptrixie line 3
in block <unit> at /home/cbwood/Projects/rakudobrew/versions/moar-blead/install/share/perl6/site/bin/gptrixie line 1
Replace these typedef with the proper type.
Need to be added in function parameter
Lines 212 to 222 in e17a013
File plop.xml
is created in CWD with an assumption that the filesystem is writable. In case of whateverables, it is not. I don't think it should do anything like this. In the worst case it should write to $*TMPDIR
, but perhaps even that is avoidable?
in DG, for now I choose to always give the name of the thing pointed by the typedef, resulting on struct getting their original name. I am not sure if giving the typedef name instead in this case is better
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.