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

Re: camlidl: (feature wish) calling conventions for function declaration #2851

Closed
vicuna opened this issue Jul 23, 2001 · 1 comment
Closed

Comments

@vicuna
Copy link

vicuna commented Jul 23, 2001

Original bug ID: 450
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: -for CamlIDL use https://github.com/xavierleroy/camlidl/issues

Bug description

Dmitry Bely dbely@mail.ru writes:

Is it possible to specify the non-standard calling convention (e.g. pascal
instead cdecl) for some function, declared in .idl file? I have a
binary-only C-library, that uses pascal calling convention (highly
optimized image processing stuff from Intel), but I cannot find the way of
using it without manual modification of camlidl-generated definitions.

OK, I've found the way to do this: include library-supplied header file(s)
in .c file insead camlidl generated one. So specifing calling convention
in IDL file itself might not be necessary ...

Hope to hear from you soon,
Dmitry

@vicuna
Copy link
Author

vicuna commented Jul 24, 2001

Comment author: administrator

See #2844

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

No branches or pull requests

1 participant