nodejs.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. /* Code generated by cmd/cgo; DO NOT EDIT. */
  2. /* package command-line-arguments */
  3. #line 1 "cgo-builtin-export-prolog"
  4. #include <stddef.h>
  5. #ifndef GO_CGO_EXPORT_PROLOGUE_H
  6. #define GO_CGO_EXPORT_PROLOGUE_H
  7. #ifndef GO_CGO_GOSTRING_TYPEDEF
  8. typedef struct { const char *p; ptrdiff_t n; } _GoString_;
  9. #endif
  10. #endif
  11. /* Start of preamble from import "C" comments. */
  12. /* End of preamble from import "C" comments. */
  13. /* Start of boilerplate cgo prologue. */
  14. #line 1 "cgo-gcc-export-header-prolog"
  15. #ifndef GO_CGO_PROLOGUE_H
  16. #define GO_CGO_PROLOGUE_H
  17. typedef signed char GoInt8;
  18. typedef unsigned char GoUint8;
  19. typedef short GoInt16;
  20. typedef unsigned short GoUint16;
  21. typedef int GoInt32;
  22. typedef unsigned int GoUint32;
  23. typedef long long GoInt64;
  24. typedef unsigned long long GoUint64;
  25. typedef GoInt64 GoInt;
  26. typedef GoUint64 GoUint;
  27. typedef size_t GoUintptr;
  28. typedef float GoFloat32;
  29. typedef double GoFloat64;
  30. #ifdef _MSC_VER
  31. #include <complex.h>
  32. typedef _Fcomplex GoComplex64;
  33. typedef _Dcomplex GoComplex128;
  34. #else
  35. typedef float _Complex GoComplex64;
  36. typedef double _Complex GoComplex128;
  37. #endif
  38. /*
  39. static assertion to make sure the file is being used on architecture
  40. at least with matching size of GoInt.
  41. */
  42. typedef char _check_for_64_bit_pointer_matching_GoInt[sizeof(void*)==64/8 ? 1:-1];
  43. #ifndef GO_CGO_GOSTRING_TYPEDEF
  44. typedef _GoString_ GoString;
  45. #endif
  46. typedef void *GoMap;
  47. typedef void *GoChan;
  48. typedef struct { void *t; void *v; } GoInterface;
  49. typedef struct { void *data; GoInt len; GoInt cap; } GoSlice;
  50. #endif
  51. /* End of boilerplate cgo prologue. */
  52. #ifdef __cplusplus
  53. extern "C" {
  54. #endif
  55. extern void DifySeccomp(GoInt uid, GoInt gid, GoUint8 enable_network);
  56. #ifdef __cplusplus
  57. }
  58. #endif