mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
[GH-ISSUE #320] make header declarations robust to my broken C parser #258
Labels
No labels
awaiting user feedback
bug
cmake
cmake
docs
feature request
in progress
long term
medium term
medium term
pull-request
question
question
ready to close
short term
under investigation
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/libxlsxwriter#258
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mwette on GitHub (Jan 13, 2021).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/320
Originally assigned to: @jmcnamara on GitHub.
In
styles.hexists the declarationI'm (sheepishly) asking that the variable name
lxw_stylesnot be a typedef name, which my API generator can't parse.For example, change
lsw_styles *lxw_stylestolxw_styles *styles.My API generator works like the tool
swig: it reads header files and generates API wrapper code for Guile (GNU's Scheme implementation). I know the bug is my parser, but it's a realy hard fix.@jmcnamara commented on GitHub (Jan 13, 2021):
Sure. No problem. Fixed on master.
@mwette commented on GitHub (Jan 13, 2021):
Thanks!
From this:
my tool (nyacc's ffi-helper) generates several 1000's lines of scheme code using Guile's API for libffi. Then a user can do this:
@jmcnamara commented on GitHub (Jan 13, 2021):
That's really cool.