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



* Frederik wrote, On 15/08/08 16:36:
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"?
Thanks for the clue, that was baffling me.

Sam



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