/opt/alt/python39/include/python3.9
NameSizeModeActions
cpython/-0755rm
internal/-0755rm
abstract.h304760644editdlrm
asdl.h12240644editdlrm
ast.h9470644editdlrm
bitset.h4680644editdlrm
bltinmodule.h2640644editdlrm
boolobject.h8850644editdlrm
bytearrayobject.h14840644editdlrm
bytesobject.h30480644editdlrm
cellobject.h7120644editdlrm
ceval.h59540644editdlrm
classobject.h16570644editdlrm
code.h3180644editdlrm
codecs.h67930644editdlrm
compile.h37780644editdlrm
complexobject.h18060644editdlrm
context.h19620644editdlrm
datetime.h92550644editdlrm
descrobject.h30190644editdlrm
dictobject.h37150644editdlrm
dynamic_annotations.h224690644editdlrm
enumobject.h2530644editdlrm
errcode.h16240644editdlrm
eval.h12090644editdlrm
exports.h10980644editdlrm
fileobject.h15710644editdlrm
fileutils.h5970644editdlrm
floatobject.h43600644editdlrm
frameobject.h3370644editdlrm
funcobject.h40570644editdlrm
genericaliasobject.h3340644editdlrm
genobject.h35250644editdlrm
graminit.h21180644editdlrm
grammar.h18210644editdlrm
import.h30260644editdlrm
interpreteridobject.h3340644editdlrm
intrcheck.h8610644editdlrm
iterobject.h5210644editdlrm
listobject.h17810644editdlrm
longintrepr.h37990644editdlrm
longobject.h95130644editdlrm
marshal.h8030644editdlrm
memoryobject.h27640644editdlrm
methodobject.h37750644editdlrm
modsupport.h99590644editdlrm
moduleobject.h23610644editdlrm
namespaceobject.h3490644editdlrm
node.h12810644editdlrm
object.h246280644editdlrm
objimpl.h84230644editdlrm
odictobject.h12990644editdlrm
opcode.h49000644editdlrm
osdefs.h7370644editdlrm
osmodule.h2910644editdlrm
parsetok.h29580644editdlrm
patchlevel.h12990644editdlrm
picklebufobject.h8460644editdlrm
pyarena.h27440644editdlrm
pycapsule.h17250644editdlrm
pyconfig-64.h480740644editdlrm
pyconfig.h1620644editdlrm
pyctype.h13870644editdlrm
pydebug.h10930644editdlrm
pydtrace.h24130644editdlrm
pyerrors.h124270644editdlrm
pyexpat.h25720644editdlrm
pyfpe.h4440644editdlrm
pyframe.h4660644editdlrm
pyhash.h42630644editdlrm
pylifecycle.h21360644editdlrm
pymacconfig.h29890644editdlrm
pymacro.h49200644editdlrm
pymath.h85800644editdlrm
pymem.h44060644editdlrm
pyport.h312730644editdlrm
pystate.h52500644editdlrm
pystrcmp.h4360644editdlrm
pystrhex.h8490644editdlrm
pystrtod.h14830644editdlrm
Python-ast.h261930644editdlrm
Python.h35320644editdlrm
pythonrun.h76730644editdlrm
pythread.h59380644editdlrm
pytime.h89280644editdlrm
py_curses.h24740644editdlrm
rangeobject.h6280644editdlrm
setobject.h33240644editdlrm
sliceobject.h25160644editdlrm
structmember.h20300644editdlrm
structseq.h13900644editdlrm
symtable.h53070644editdlrm
sysmodule.h12420644editdlrm
token.h26420644editdlrm
traceback.h5840644editdlrm
tracemalloc.h11140644editdlrm
tupleobject.h16140644editdlrm
typeslots.h23500644editdlrm
ucnhash.h10560644editdlrm
unicodeobject.h354260644editdlrm
warnings.h17760644editdlrm
weakrefobject.h28630644editdlrm
Edit: /opt/alt/python39/include/python3.9/pymacro.h (4920B)
#ifndef Py_PYMACRO_H #define Py_PYMACRO_H /* Minimum value between x and y */ #define Py_MIN(x, y) (((x) > (y)) ? (y) : (x)) /* Maximum value between x and y */ #define Py_MAX(x, y) (((x) > (y)) ? (x) : (y)) /* Absolute value of the number x */ #define Py_ABS(x) ((x) < 0 ? -(x) : (x)) #define _Py_XSTRINGIFY(x) #x /* Convert the argument to a string. For example, Py_STRINGIFY(123) is replaced with "123" by the preprocessor. Defines are also replaced by their value. For example Py_STRINGIFY(__LINE__) is replaced by the line number, not by "__LINE__". */ #define Py_STRINGIFY(x) _Py_XSTRINGIFY(x) /* Get the size of a structure member in bytes */ #define Py_MEMBER_SIZE(type, member) sizeof(((type *)0)->member) /* Argument must be a char or an int in [-128, 127] or [0, 255]. */ #define Py_CHARMASK(c) ((unsigned char)((c) & 0xff)) /* Assert a build-time dependency, as an expression. Your compile will fail if the condition isn't true, or can't be evaluated by the compiler. This can be used in an expression: its value is 0. Example: #define foo_to_char(foo) \ ((char *)(foo) \ + Py_BUILD_ASSERT_EXPR(offsetof(struct foo, string) == 0)) Written by Rusty Russell, public domain, http://ccodearchive.net/ */ #define Py_BUILD_ASSERT_EXPR(cond) \ (sizeof(char [1 - 2*!(cond)]) - 1) #define Py_BUILD_ASSERT(cond) do { \ (void)Py_BUILD_ASSERT_EXPR(cond); \ } while(0) /* Get the number of elements in a visible array This does not work on pointers, or arrays declared as [], or function parameters. With correct compiler support, such usage will cause a build error (see Py_BUILD_ASSERT_EXPR). Written by Rusty Russell, public domain, http://ccodearchive.net/ Requires at GCC 3.1+ */ #if (defined(__GNUC__) && !defined(__STRICT_ANSI__) && \ (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1)) || (__GNUC__ >= 4))) /* Two gcc extensions. &a[0] degrades to a pointer: a different type from an array */ #define Py_ARRAY_LENGTH(array) \ (sizeof(array) / sizeof((array)[0]) \ + Py_BUILD_ASSERT_EXPR(!__builtin_types_compatible_p(typeof(array), \ typeof(&(array)[0])))) #else #define Py_ARRAY_LENGTH(array) \ (sizeof(array) / sizeof((array)[0])) #endif /* Define macros for inline documentation. */ #define PyDoc_VAR(name) static const char name[] #define PyDoc_STRVAR(name,str) PyDoc_VAR(name) = PyDoc_STR(str) #ifdef WITH_DOC_STRINGS #define PyDoc_STR(str) str #else #define PyDoc_STR(str) "" #endif /* Below "a" is a power of 2. */ /* Round down size "n" to be a multiple of "a". */ #define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1)) /* Round up size "n" to be a multiple of "a". */ #define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \ (size_t)((a) - 1)) & ~(size_t)((a) - 1)) /* Round pointer "p" down to the closest "a"-aligned address <= "p". */ #define _Py_ALIGN_DOWN(p, a) ((void *)((uintptr_t)(p) & ~(uintptr_t)((a) - 1))) /* Round pointer "p" up to the closest "a"-aligned address >= "p". */ #define _Py_ALIGN_UP(p, a) ((void *)(((uintptr_t)(p) + \ (uintptr_t)((a) - 1)) & ~(uintptr_t)((a) - 1))) /* Check if pointer "p" is aligned to "a"-bytes boundary. */ #define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1))) /* Use this for unused arguments in a function definition to silence compiler * warnings. Example: * * int func(int a, int Py_UNUSED(b)) { return a; } */ #if defined(__GNUC__) || defined(__clang__) # define Py_UNUSED(name) _unused_ ## name __attribute__((unused)) #else # define Py_UNUSED(name) _unused_ ## name #endif #if defined(RANDALL_WAS_HERE) # define Py_UNREACHABLE() \ Py_FatalError( \ "If you're seeing this, the code is in what I thought was\n" \ "an unreachable state.\n\n" \ "I could give you advice for what to do, but honestly, why\n" \ "should you trust me? I clearly screwed this up. I'm writing\n" \ "a message that should never appear, yet I know it will\n" \ "probably appear someday.\n\n" \ "On a deep level, I know I'm not up to this task.\n" \ "I'm so sorry.\n" \ "https://xkcd.com/2200") #elif defined(Py_DEBUG) # define Py_UNREACHABLE() \ Py_FatalError( \ "We've reached an unreachable state. Anything is possible.\n" \ "The limits were in our heads all along. Follow your dreams.\n" \ "https://xkcd.com/2200") #elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)) # define Py_UNREACHABLE() __builtin_unreachable() #elif defined(__clang__) || defined(__INTEL_COMPILER) # define Py_UNREACHABLE() __builtin_unreachable() #elif defined(_MSC_VER) # define Py_UNREACHABLE() __assume(0) #else # define Py_UNREACHABLE() \ Py_FatalError("Unreachable C code path reached") #endif #endif /* Py_PYMACRO_H */