Sven Panne <[EMAIL PROTECTED]> writes:
>
....
>
> > [...] HDirect could generate output which delayed the
> > binding of enum tags to values until the Haskell/C stubs are
> > compiled, if this is a real problem. [...]
>
...
>
> typedef enum {
> ExitFailure = ``EXIT_FAILURE'',
> ExitSuccess = ``EXIT_SUCCESS''
> } Status;
>
> or even better: (almost like Green Card :-)
>
> typedef enum [useValuesFromHeaderAndDoCunningNameMangling] {
> EXIT_FAILURE, EXIT_SUCCESS
> } Status;
I was imagining the latter together with a command-line switch; I'm
not sure if a new custom attribute is warranted for this.
Oh, and you want name mangling as well. Hadn't thought of that, but
could always support a [naming_scheme(..)] attribute. Will see what
I can do.
--sigbjorn
- RE: Xlib IDL for H/Direct? Manuel M. T. Chakravarty
- Re: Xlib IDL for H/Direct? Sven Panne
- Re: Xlib IDL for H/Direct? Manuel M. T. Chakravarty
- Re: Xlib IDL for H/Direct? Sven Panne
- RE: Xlib IDL for H/Direct? Sigbjorn Finne (Intl Vendor)
- Re: Xlib IDL for H/Direct? Sven Panne
- RE: Xlib IDL for H/Direct? Sigbjorn Finne (Intl Vendor)
- RE: Xlib IDL for H/Direct? Manuel M. T. Chakravarty
- Re: Xlib IDL for H/Direct? Sven Panne
- Re: Xlib IDL for H/Direct? Manuel M. T. Chakravarty
- RE: Xlib IDL for H/Direct? Sigbjorn Finne (Intl Vendor)
- RE: Xlib IDL for H/Direct? Sigbjorn Finne (Intl Vendor)
- Re: Xlib IDL for H/Direct? Sven Panne
- RE: Xlib IDL for H/Direct? Manuel M. T. Chakravarty
- Re: Xlib IDL for H/Direct? Manuel M. T. Chakravarty
