Finalize Bindings
This commit is contained in:
73
CXErrorCode.bf
Normal file
73
CXErrorCode.bf
Normal file
@@ -0,0 +1,73 @@
|
||||
// This file was auto-generated by Cpp2Beef
|
||||
|
||||
using System;
|
||||
using System.Interop;
|
||||
|
||||
namespace LibClang;
|
||||
|
||||
static
|
||||
{
|
||||
/*===-- clang-c/CXErrorCode.h - C Index Error Codes --------------*- C -*-===*\
|
||||
|* *|
|
||||
|* Part of the LLVM Project, under the Apache License v2.0 with LLVM *|
|
||||
|* Exceptions. *|
|
||||
|* See https://llvm.org/LICENSE.txt for license information. *|
|
||||
|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *|
|
||||
|* *|
|
||||
|*===----------------------------------------------------------------------===*|
|
||||
|* *|
|
||||
|* This header provides the CXErrorCode enumerators. *|
|
||||
|* *|
|
||||
\*===----------------------------------------------------------------------===*/
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Error codes returned by libclang routines.
|
||||
*
|
||||
* Zero (\c CXError_Success) is the only error code indicating success. Other
|
||||
* error codes, including not yet assigned non-zero values, indicate errors.
|
||||
*/
|
||||
[AllowDuplicates] public enum CXErrorCode : c_int {
|
||||
/**
|
||||
* No error.
|
||||
*/
|
||||
Success = 0,
|
||||
|
||||
/**
|
||||
* A generic error code, no further details are available.
|
||||
*
|
||||
* Errors of this kind can get their own specific error codes in future
|
||||
* libclang versions.
|
||||
*/
|
||||
Failure = 1,
|
||||
|
||||
/**
|
||||
* libclang crashed while performing the requested operation.
|
||||
*/
|
||||
Crashed = 2,
|
||||
|
||||
/**
|
||||
* The function detected that the arguments violate the function
|
||||
* contract.
|
||||
*/
|
||||
InvalidArguments = 3,
|
||||
|
||||
/**
|
||||
* An AST deserialization error has occurred.
|
||||
*/
|
||||
ASTReadError = 4,
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user