cpython_raw.h File Reference

Classes

struct  FILE_native
 
class  TpFlags
 
struct  CPyCompilerFlags
 
struct  NativePyThreadState
 
struct  NativePyObject
 
struct  NativePyTypeObject
 
struct  NativePyIntObject
 
struct  NativePyCapsule
 
struct  NativePyMethodDef
 
struct  NativePyModuleDefBase
 
struct  NativePyModuleDef
 

Namespaces

 maxon
 
 maxon::py
 

Typedefs

using PyChar = Char
 
using destruct = void(NativePyObject *)
 
using reprfunc = NativePyObject *(NativePyObject *)
 
using newfunc = NativePyObject *(NativePyTypeObject *type, NativePyObject *args, NativePyObject *kwds)
 
using allocfunc = NativePyObject *(NativePyTypeObject *type, Int nitems)
 
using vectorcallfunc = NativePyObject *(NativePyObject *callable, NativePyObject *const args, Int64 nargsf, NativePyObject *kwnames)
 
using NativePyCFunctionWithKeywords = NativePyObject *(*)(NativePyObject *, NativePyObject *, NativePyObject *)
 

Enumerations

enum class  Errno : int {
  _EPERM ,
  _ENOENT ,
  _ESRCH ,
  _EINTR ,
  _EIO ,
  _ENXIO ,
  _E2BIG ,
  _ENOEXEC ,
  _EBADF ,
  _ECHILD ,
  _EAGAIN ,
  _ENOMEM ,
  _EACCES ,
  _EFAULT ,
  _ENOTBLK ,
  _EBUSY ,
  _EEXIST ,
  _EXDEV ,
  _ENODEV ,
  _ENOTDIR ,
  _EISDIR ,
  _EINVAL ,
  _ENFILE ,
  _EMFILE ,
  _ENOTTY ,
  _ETXTBSY ,
  _EFBIG ,
  _ENOSPC ,
  _ESPIPE ,
  _EROFS ,
  _EMLINK ,
  _EPIPE ,
  _EDOM ,
  _ERANGE ,
  _EDEADLK ,
  _ENAMETOOLONG ,
  _ENOLCK ,
  _ENOSYS ,
  _ENOTEMPTY ,
  _ELOOP ,
  _EWOULDBLOCK ,
  _ENOMSG ,
  _EIDRM ,
  _ECHRNG ,
  _EL2NSYNC ,
  _EL3HLT ,
  _EL3RST ,
  _ELNRNG ,
  _EUNATCH ,
  _ENOCSI ,
  _EL2HLT ,
  _EBADE ,
  _EBADR ,
  _EXFULL ,
  _ENOANO ,
  _EBADRQC ,
  _EBADSLT ,
  _EDEADLOCK ,
  _EBFONT ,
  _ENOSTR ,
  _ENODATA ,
  _ETIME ,
  _ENOSR ,
  _ENONET ,
  _ENOPKG ,
  _EREMOTE ,
  _ENOLINK ,
  _EADV ,
  _ESRMNT ,
  _ECOMM ,
  _EPROTO ,
  _EMULTIHOP ,
  _EDOTDOT ,
  _EBADMSG ,
  _EOVERFLOW ,
  _ENOTUNIQ ,
  _EBADFD ,
  _EREMCHG ,
  _ELIBACC ,
  _ELIBBAD ,
  _ELIBSCN ,
  _ELIBMAX ,
  _ELIBEXEC ,
  _EILSEQ ,
  _ERESTART ,
  _ESTRPIPE ,
  _EUSERS ,
  _ENOTSOCK ,
  _EDESTADDRREQ ,
  _EMSGSIZE ,
  _EPROTOTYPE ,
  _ENOPROTOOPT ,
  _EPROTONOSUPPORT ,
  _ESOCKTNOSUPPORT ,
  _EOPNOTSUPP ,
  _EPFNOSUPPORT ,
  _EAFNOSUPPORT ,
  _EADDRINUSE ,
  _EADDRNOTAVAIL ,
  _ENETDOWN ,
  _ENETUNREACH ,
  _ENETRESET ,
  _ECONNABORTED ,
  _ECONNRESET ,
  _ENOBUFS ,
  _EISCONN ,
  _ENOTCONN ,
  _ESHUTDOWN ,
  _ETOOMANYREFS ,
  _ETIMEDOUT ,
  _ECONNREFUSED ,
  _EHOSTDOWN ,
  _EHOSTUNREACH ,
  _EALREADY ,
  _EINPROGRESS ,
  _ESTALE ,
  _EUCLEAN ,
  _ENOTNAM ,
  _ENAVAIL ,
  _EISNAM ,
  _EREMOTEIO ,
  _EDQUOT ,
  _ENOMEDIUM ,
  _EMEDIUMTYPE ,
  _ECANCELED ,
  _ENOKEY ,
  _EKEYEXPIRED ,
  _EKEYREVOKED ,
  _EKEYREJECTED ,
  _EOWNERDEAD ,
  _ENOTRECOVERABLE
}
 
enum class  CONTAINS : int {
  _FOUND ,
  _NOTFOUND ,
  _ERROR
}
 
enum class  PYTHONFLAG {
  NONE ,
  UTF8MODE ,
  DEBUG ,
  VERBOSE ,
  QUIET ,
  INTERACTIVE ,
  INSPECT ,
  OPTIMIZE_LEVEL1 ,
  OPTIMIZE_LEVEL2 ,
  NOSITE ,
  BYTESWARNING ,
  FROZEN ,
  IGNOREENVIRONMENT ,
  DONTWRITEBYTECODE ,
  NOUSERSITEDIRECTORY ,
  UNBUFFEREDSTDIO ,
  HASHRANDOMSEED ,
  ISOLATED ,
  LEGACYWINDOWSFSENCODING ,
  LEGACYWINDOWSSTDIO ,
  SET_CONTEXT_COMMANDLINEARGS ,
  SET_ALL_COMMANDLINEARGS ,
  PROCESS_COMMANDLINEARGS ,
  ERRORS_IN_RESULT
}
 

Functions

template<typename F >
static auto GetSymbol (const DllRef &dll, const CString &symbol)
 
enum maxon::Errno int MAXON_ENUM_LIST (Errno)
 
enum maxon::CONTAINS int MAXON_ENUM_LIST (CONTAINS)
 
enum maxon::py::PYTHONFLAG MAXON_ENUM_FLAGS (PYTHONFLAG)
 

Variables

const Int32 NATIVE_CO_MAXBLOCKS
 
 _EPERM
 
 _ENOENT
 
 _ESRCH
 
 _EINTR
 
 _EIO
 
 _ENXIO
 
 _E2BIG
 
 _ENOEXEC
 
 _EBADF
 
 _ECHILD
 
 _EAGAIN
 
 _ENOMEM
 
 _EACCES
 
 _EFAULT
 
 _ENOTBLK
 
 _EBUSY
 
 _EEXIST
 
 _EXDEV
 
 _ENODEV
 
 _ENOTDIR
 
 _EISDIR
 
 _EINVAL
 
 _ENFILE
 
 _EMFILE
 
 _ENOTTY
 
 _ETXTBSY
 
 _EFBIG
 
 _ENOSPC
 
 _ESPIPE
 
 _EROFS
 
 _EMLINK
 
 _EPIPE
 
 _EDOM
 
 _ERANGE
 
 _EDEADLK
 
 _ENAMETOOLONG
 
 _ENOLCK
 
 _ENOSYS
 
 _ENOTEMPTY
 
 _ELOOP
 
 _EWOULDBLOCK
 
 _ENOMSG
 
 _EIDRM
 
 _ECHRNG
 
 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JECTED
 
 _EOWNERDEAD
 
 _ENOTRECOVERABLE
 
 _FOUND
 
 _NOTFOUND
 
 _ERROR
 
 NONE
 
 UTF8MODE
 
 DEBUG
 
 VERBOSE
 
 QUIET
 
 INTERACTIVE
 
 INSPECT
 
 OPTIMIZE_LEVEL1
 
 OPTIMIZE_LEVEL2
 
 NOSITE
 
 BYTESWARNING
 
 FROZEN
 
 IGNOREENVIRONMENT
 
 DONTWRITEBYTECODE
 
 NOUSERSITEDIRECTORY
 
 UNBUFFEREDSTDIO
 
 HASHRANDOMSEED
 
 ISOLATED
 
 LEGACYWINDOWSFSENCODING
 
 LEGACYWINDOWSSTDIO
 
 SET_CONTEXT_COMMANDLINEARGS
 
 SET_ALL_COMMANDLINEARGS
 
 PROCESS_COMMANDLINEARGS
 
 ERRORS_IN_RESULT
 
struct maxon::py::NativePyThreadState MAXON_ENUM_FLAGS
 

Variable Documentation

◆ _EPERM

_EPERM

◆ _ENOENT

_ENOENT

◆ _ESRCH

_ESRCH

◆ _EINTR

_EINTR

◆ _EIO

_EIO

◆ _ENXIO

_ENXIO

◆ _E2BIG

_E2BIG

◆ _ENOEXEC

_ENOEXEC

◆ _EBADF

_EBADF

◆ _ECHILD

_ECHILD

◆ _EAGAIN

_EAGAIN

◆ _ENOMEM

_ENOMEM

◆ _EACCES

_EACCES

◆ _EFAULT

_EFAULT

◆ _ENOTBLK

_ENOTBLK

◆ _EBUSY

_EBUSY

◆ _EEXIST

_EEXIST

◆ _EXDEV

_EXDEV

◆ _ENODEV

_ENODEV

◆ _ENOTDIR

_ENOTDIR

◆ _EISDIR

_EISDIR

◆ _EINVAL

_EINVAL

◆ _ENFILE

_ENFILE

◆ _EMFILE

_EMFILE

◆ _ENOTTY

_ENOTTY

◆ _ETXTBSY

_ETXTBSY

◆ _EFBIG

_EFBIG

◆ _ENOSPC

_ENOSPC

◆ _ESPIPE

_ESPIPE

◆ _EROFS

_EROFS

◆ _EMLINK

_EMLINK

◆ _EPIPE

_EPIPE

◆ _EDOM

_EDOM

◆ _ERANGE

_ERANGE

◆ _EDEADLK

_EDEADLK

◆ _ENAMETOOLONG

_ENAMETOOLONG

◆ _ENOLCK

_ENOLCK

◆ _ENOSYS

_ENOSYS

◆ _ENOTEMPTY

_ENOTEMPTY

◆ _ELOOP

_ELOOP

◆ _EWOULDBLOCK

_EWOULDBLOCK

◆ _ENOMSG

_ENOMSG

◆ _EIDRM

_EIDRM

◆ _ECHRNG

_ECHRNG

◆ _EL2NSYNC

_EL2NSYNC

◆ _EL3HLT

_EL3HLT

◆ _EL3RST

_EL3RST

◆ _ELNRNG

_ELNRNG

◆ _EUNATCH

_EUNATCH

◆ _ENOCSI

_ENOCSI

◆ _EL2HLT

_EL2HLT

◆ _EBADE

_EBADE

◆ _EBADR

_EBADR

◆ _EXFULL

_EXFULL

◆ _ENOANO

_ENOANO

◆ _EBADRQC

_EBADRQC

◆ _EBADSLT

_EBADSLT

◆ _EDEADLOCK

_EDEADLOCK

◆ _EBFONT

_EBFONT

◆ _ENOSTR

_ENOSTR

◆ _ENODATA

_ENODATA

◆ _ETIME

_ETIME

◆ _ENOSR

_ENOSR

◆ _ENONET

_ENONET

◆ _ENOPKG

_ENOPKG

◆ _EREMOTE

_EREMOTE

◆ _ENOLINK

_ENOLINK

◆ _EADV

_EADV

◆ _ESRMNT

_ESRMNT

◆ _ECOMM

_ECOMM

◆ _EPROTO

_EPROTO

◆ _EMULTIHOP

_EMULTIHOP

◆ _EDOTDOT

_EDOTDOT

◆ _EBADMSG

_EBADMSG

◆ _EOVERFLOW

_EOVERFLOW

◆ _ENOTUNIQ

_ENOTUNIQ

◆ _EBADFD

_EBADFD

◆ _EREMCHG

_EREMCHG

◆ _ELIBACC

_ELIBACC

◆ _ELIBBAD

_ELIBBAD

◆ _ELIBSCN

_ELIBSCN

◆ _ELIBMAX

_ELIBMAX

◆ _ELIBEXEC

_ELIBEXEC

◆ _EILSEQ

_EILSEQ

◆ _ERESTART

_ERESTART

◆ _ESTRPIPE

_ESTRPIPE

◆ _EUSERS

_EUSERS

◆ _ENOTSOCK

_ENOTSOCK

◆ _EDESTADDRREQ

_EDESTADDRREQ

◆ _EMSGSIZE

_EMSGSIZE

◆ _EPROTOTYPE

_EPROTOTYPE

◆ _ENOPROTOOPT

_ENOPROTOOPT

◆ _EPROTONOSUPPORT

_EPROTONOSUPPORT

◆ _ESOCKTNOSUPPORT

_ESOCKTNOSUPPORT

◆ _EOPNOTSUPP

_EOPNOTSUPP

◆ _EPFNOSUPPORT

_EPFNOSUPPORT

◆ _EAFNOSUPPORT

_EAFNOSUPPORT

◆ _EADDRINUSE

_EADDRINUSE

◆ _EADDRNOTAVAIL

_EADDRNOTAVAIL

◆ _ENETDOWN

_ENETDOWN

◆ _ENETUNREACH

_ENETUNREACH

◆ _ENETRESET

_ENETRESET

◆ _ECONNABORTED

_ECONNABORTED

◆ _ECONNRESET

_ECONNRESET

◆ _ENOBUFS

_ENOBUFS

◆ _EISCONN

_EISCONN

◆ _ENOTCONN

_ENOTCONN

◆ _ESHUTDOWN

_ESHUTDOWN

◆ _ETOOMANYREFS

_ETOOMANYREFS

◆ _ETIMEDOUT

_ETIMEDOUT

◆ _ECONNREFUSED

_ECONNREFUSED

◆ _EHOSTDOWN

_EHOSTDOWN

◆ _EHOSTUNREACH

_EHOSTUNREACH

◆ _EALREADY

_EALREADY

◆ _EINPROGRESS

_EINPROGRESS

◆ _ESTALE

_ESTALE

◆ _EUCLEAN

_EUCLEAN

◆ _ENOTNAM

_ENOTNAM

◆ _ENAVAIL

_ENAVAIL

◆ _EISNAM

_EISNAM

◆ _EREMOTEIO

_EREMOTEIO

◆ _EDQUOT

_EDQUOT

◆ _ENOMEDIUM

_ENOMEDIUM

◆ _EMEDIUMTYPE

_EMEDIUMTYPE

◆ _ECANCELED

_ECANCELED

◆ _ENOKEY

_ENOKEY

◆ _EKEYEXPIRED

_EKEYEXPIRED

◆ _EKEYREVOKED

_EKEYREVOKED

◆ _EKEYREJECTED

_EKEYREJECTED

◆ _EOWNERDEAD

_EOWNERDEAD

◆ _ENOTRECOVERABLE

_ENOTRECOVERABLE

◆ _FOUND

_FOUND

◆ _NOTFOUND

_NOTFOUND

◆ _ERROR

_ERROR

◆ NONE

NONE

◆ UTF8MODE

UTF8MODE

◆ DEBUG

DEBUG

◆ VERBOSE

VERBOSE

◆ QUIET

QUIET

◆ INTERACTIVE

INTERACTIVE

◆ INSPECT

INSPECT

◆ OPTIMIZE_LEVEL1

OPTIMIZE_LEVEL1

◆ OPTIMIZE_LEVEL2

OPTIMIZE_LEVEL2

◆ NOSITE

NOSITE

◆ BYTESWARNING

BYTESWARNING

◆ FROZEN

FROZEN

◆ IGNOREENVIRONMENT

IGNOREENVIRONMENT

◆ DONTWRITEBYTECODE

DONTWRITEBYTECODE

◆ NOUSERSITEDIRECTORY

NOUSERSITEDIRECTORY

◆ UNBUFFEREDSTDIO

UNBUFFEREDSTDIO

◆ HASHRANDOMSEED

HASHRANDOMSEED

◆ ISOLATED

ISOLATED

◆ LEGACYWINDOWSFSENCODING

LEGACYWINDOWSFSENCODING

◆ LEGACYWINDOWSSTDIO

LEGACYWINDOWSSTDIO

◆ SET_CONTEXT_COMMANDLINEARGS

SET_CONTEXT_COMMANDLINEARGS

◆ SET_ALL_COMMANDLINEARGS

SET_ALL_COMMANDLINEARGS

◆ PROCESS_COMMANDLINEARGS

PROCESS_COMMANDLINEARGS

◆ ERRORS_IN_RESULT

ERRORS_IN_RESULT