All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.aisec.cpg-language-go.8.0.0.source-code.libcpgo-amd64.h Maven / Gradle / Ivy

There is a newer version: 8.3.0
Show newest version
/* Code generated by cmd/cgo; DO NOT EDIT. */

/* package command-line-arguments */


#line 1 "cgo-builtin-export-prolog"

#include 

#ifndef GO_CGO_EXPORT_PROLOGUE_H
#define GO_CGO_EXPORT_PROLOGUE_H

#ifndef GO_CGO_GOSTRING_TYPEDEF
typedef struct { const char *p; ptrdiff_t n; } _GoString_;
#endif

#endif

/* Start of preamble from import "C" comments.  */




/* End of preamble from import "C" comments.  */


/* Start of boilerplate cgo prologue.  */
#line 1 "cgo-gcc-export-header-prolog"

#ifndef GO_CGO_PROLOGUE_H
#define GO_CGO_PROLOGUE_H

typedef signed char GoInt8;
typedef unsigned char GoUint8;
typedef short GoInt16;
typedef unsigned short GoUint16;
typedef int GoInt32;
typedef unsigned int GoUint32;
typedef long long GoInt64;
typedef unsigned long long GoUint64;
typedef GoInt64 GoInt;
typedef GoUint64 GoUint;
typedef size_t GoUintptr;
typedef float GoFloat32;
typedef double GoFloat64;
#ifdef _MSC_VER
#include 
typedef _Fcomplex GoComplex64;
typedef _Dcomplex GoComplex128;
#else
typedef float _Complex GoComplex64;
typedef double _Complex GoComplex128;
#endif

/*
  static assertion to make sure the file is being used on architecture
  at least with matching size of GoInt.
*/
typedef char _check_for_64_bit_pointer_matching_GoInt[sizeof(void*)==64/8 ? 1:-1];

#ifndef GO_CGO_GOSTRING_TYPEDEF
typedef _GoString_ GoString;
#endif
typedef void *GoMap;
typedef void *GoChan;
typedef struct { void *t; void *v; } GoInterface;
typedef struct { void *data; GoInt len; GoInt cap; } GoSlice;

#endif

/* End of boilerplate cgo prologue.  */

#ifdef __cplusplus
extern "C" {
#endif

extern char* GetType(void* ptr);
extern void* NewFileSet();
extern void* goParserParseFile(void* fset, char* path);
extern void* modfileParse(char* path, char* bytes);
extern void* modfileGetFileModule(void* ptr);
extern void* modfileGetModuleMod(void* ptr);
extern char* moduleGetVersionPath(void* ptr);
extern void* NewCommentMap(void* ptr1, void* ptr2, void* ptr3);
extern void* GetFileSetPosition(void* ptr, GoInt pos);
extern char* GetFileSetFileName(void* ptr, GoInt pos);
extern char* GetFileSetNodeCode(void* ptr1, void* ptr2);
extern GoInt GetPositionLine(void* ptr);
extern GoInt GetPositionColumn(void* ptr);
extern GoInt GetNodePos(void* ptr);
extern int GetNodeEnd(void* ptr);
extern char* GetCommentMapNodeComment(void* ptr1, void* ptr2);
extern void* GetFileName(void* ptr);
extern int GetNumFileDecls(void* ptr);
extern void* GetFileDecl(void* ptr, GoInt i);
extern int GetNumFileImports(void* ptr);
extern void* GetFileImport(void* ptr, GoInt i);
extern void* GetFileComments(void* ptr);
extern int GetNumFieldListList(void* ptr);
extern void* GetFieldListList(void* ptr, GoInt i);
extern void* GetBinaryExprX(void* ptr);
extern char* GetBinaryExprOpString(void* ptr);
extern void* GetBinaryExprY(void* ptr);
extern void* GetDeclStmtDecl(void* ptr);
extern void* GetExprStmtX(void* ptr);
extern void* GetCallExprFun(void* ptr);
extern int GetNumCallExprArgs(void* ptr);
extern void* GetCallExprArg(void* ptr, GoInt i);
extern void* GetEllipsisElt(void* ptr);
extern void* GetForStmtInit(void* ptr);
extern void* GetForStmtCond(void* ptr);
extern void* GetForStmtPost(void* ptr);
extern void* GetForStmtBody(void* ptr);
extern void* GetGoStmtCall(void* ptr);
extern char* GetIncDecStmtTokString(void* ptr);
extern void* GetIncDecStmtX(void* ptr);
extern void* GetIfStmtInit(void* ptr);
extern void* GetIfStmtCond(void* ptr);
extern void* GetIfStmtBody(void* ptr);
extern void* GetIfStmtElse(void* ptr);
extern void* GetLabeledStmtLabel(void* ptr);
extern void* GetLabeledStmtStmt(void* ptr);
extern char* GetRangeStmtTokString(void* ptr);
extern void* GetRangeStmtKey(void* ptr);
extern void* GetRangeStmtValue(void* ptr);
extern void* GetRangeStmtX(void* ptr);
extern void* GetRangeStmtBody(void* ptr);
extern int GetBasicLitKind(void* ptr);
extern char* GetBasicLitValue(void* ptr);
extern void* GetCompositeLitType(void* ptr);
extern int GetNumCompositeLitElts(void* ptr);
extern void* GetCompositeLitElt(void* ptr, GoInt i);
extern void* MakeFuncDeclFromFuncLit(void* ptr);
extern int GetIdentNamePos(void* ptr);
extern char* GetIdentName(void* ptr);
extern void* GetIndexExprX(void* ptr);
extern void* GetIndexExprIndex(void* ptr);
extern void* GetIndexListExprX(void* ptr);
extern int GetNumIndexListExprIndices(void* ptr);
extern void* GetIndexListExprIndex(void* ptr, GoInt i);
extern void* GetKeyValueExprKey(void* ptr);
extern void* GetKeyValueExprValue(void* ptr);
extern void* GetParenExprX(void* ptr);
extern void* GetSelectorExprX(void* ptr);
extern void* GetSelectorExprSel(void* ptr);
extern void* GetSliceExprX(void* ptr);
extern void* GetSliceExprLow(void* ptr);
extern void* GetSliceExprHigh(void* ptr);
extern void* GetSliceExprMax(void* ptr);
extern void* GetStarExprX(void* ptr);
extern void* GetTypeAssertExprX(void* ptr);
extern void* GetTypeAssertExprType(void* ptr);
extern char* GetUnaryExprOpString(void* ptr);
extern void* GetUnaryExprX(void* ptr);
extern void* GetArrayTypeElt(void* ptr);
extern void* GetChanTypeValue(void* ptr);
extern void* GetFuncTypeParams(void* ptr);
extern void* GetFuncTypeTypeParams(void* ptr);
extern void* GetFuncParams(void* ptr);
extern void* GetFuncTypeResults(void* ptr);
extern void* GetMapTypeKey(void* ptr);
extern void* GetMapTypeValue(void* ptr);
extern void* GetStructTypeFields(void* ptr);
extern char GetStructTypeIncomplete(void* ptr);
extern int GetNumFieldNames(void* ptr);
extern void* GetFieldName(void* ptr, GoInt i);
extern void* GetFieldType(void* ptr);
extern int GetNumGenDeclSpecs(void* ptr);
extern void* GetGenDeclSpec(void* ptr, GoInt i);
extern GoInt GetGenDeclTok(void* ptr);
extern void* GetInterfaceTypeMethods(void* ptr);
extern char GetInterfaceTypeIncomplete(void* ptr);
extern void* GetFuncDeclRecv(void* ptr);

// GetFuncDeclName returns the name property of a [*ast.FuncDecl] as [*ast.Ident].
//
extern void* GetFuncDeclName(void* ptr);
extern void* GetFuncDeclType(void* ptr);

// GetFuncDeclBody returns the body property of a [*ast.FuncDecl] as [*ast.BlockStmt].
//
extern void* GetFuncDeclBody(void* ptr);
extern void* GetImportSpecName(void* ptr);
extern void* GetImportSpecPath(void* ptr);
extern int GetNumValueSpecNames(void* ptr);
extern void* GetValueSpecName(void* ptr, GoInt i);
extern void* GetValueSpecType(void* ptr);
extern int GetNumValueSpecValues(void* ptr);
extern void* GetValueSpecValue(void* ptr, GoInt i);
extern void* GetTypeSpecName(void* ptr);
extern GoInt GetTypeSpecAssign(void* ptr);
extern void* GetTypeSpecType(void* ptr);
extern int GetNumBlockStmtList(void* ptr);
extern void* GetBlockStmtList(void* ptr, GoInt i);
extern char* GetBranchStmtTokString(void* ptr);
extern void* GetBranchStmtLabel(void* ptr);
extern int GetNumCaseClauseList(void* ptr);
extern void* GetCaseClauseList(void* ptr, GoInt i);
extern int GetNumCaseClauseBody(void* ptr);
extern void* GetCaseClauseBody(void* ptr, GoInt i);
extern int GetNumAssignStmtLhs(void* ptr);
extern void* GetAssignStmtLhs(void* ptr, GoInt i);
extern int GetAssignStmtTok(void* ptr);
extern int GetNumAssignStmtRhs(void* ptr);
extern void* GetAssignStmtRhs(void* ptr, GoInt i);
extern void* GetDeferStmtCall(void* ptr);
extern int GetNumReturnStmtResults(void* ptr);
extern void* GetReturnStmtResult(void* ptr, GoInt i);
extern void* GetSendStmtChan(void* ptr);
extern void* GetSendStmtValue(void* ptr);
extern void* GetSwitchStmtInit(void* ptr);
extern void* GetSwitchStmtTag(void* ptr);
extern void* GetSwitchStmtBody(void* ptr);
extern void* GetTypeSwitchStmtInit(void* ptr);
extern void* GetTypeSwitchStmtAssign(void* ptr);
extern void* GetTypeSwitchStmtBody(void* ptr);

#ifdef __cplusplus
}
#endif




© 2015 - 2024 Weber Informatics LLC | Privacy Policy