Re: [Vala] GLX (OpenGL Extension to the X Window System) binding!!



Sam Liddicott wrote:
If I do:

[CCode (cheader_file = "ntstatus.h")]
namespace NT_STATUS {
    public const NTSTATUS OK;
    public const NTSTATUS NO_MEMORY;
    public const NTSTATUS INVALID_PARAMETER;
    public const NTSTATUS UNSUCCESSFUL;

then I get an extra underscore:

NT__STATUS_INVALID_PARAMETER

Sam

And when you call your namespace "NtStatus" instead of "NT_STATUS"?


Regards,

Frederik



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]