Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we access variables defined in header files here? #16

Open
jishnub opened this issue Aug 25, 2021 · 0 comments
Open

Can we access variables defined in header files here? #16

jishnub opened this issue Aug 25, 2021 · 0 comments

Comments

@jishnub
Copy link
Contributor

jishnub commented Aug 25, 2021

The docs of fits_insert_img states

One can force a new primary array to be inserted at the beginning of the FITS file by setting status = PREPEND_PRIMARY

except PREPEND_PRIMARY is defined in a header file as

#define PREPEND_PRIMARY    -9  /* used in ffiimg to insert new primary array */

and I don't think that this is exported (I can't find a corresponding symbol exported when I run nm on the library). Perhaps we may just hardcode the symbol here, but is there any other way to access the symbol from the header file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant