.m_slots = _scproxy_slots,
};
-#ifdef __cplusplus
-extern "C" {
-#endif
-
PyMODINIT_FUNC
PyInit__scproxy(void)
{
return PyModuleDef_Init(&_scproxy_module);
}
-
-#ifdef __cplusplus
-}
-#endif
#include "Python.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif /* HAVE_SYS_TYPES_H */
{
return PyModuleDef_Init(&statmodule);
}
-
-#ifdef __cplusplus
-}
-#endif
"Type \"help\", \"copyright\", \"credits\" or \"license\" " \
"for more information."
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/* --- pymain_init() ---------------------------------------------- */
static PyStatus
.wchar_argv = NULL};
return pymain_main(&args);
}
-
-#ifdef __cplusplus
-}
-#endif
#endif
-#ifdef __cplusplus
-extern "C" {
-#endif
-
PyDoc_STRVAR(posix__doc__,
"This module provides access to operating system functionality that is\n\
standardized by the C Standard and the POSIX standard (a thinly\n\
{
return PyModuleDef_Init(&posixmodule);
}
-
-#ifdef __cplusplus
-}
-#endif
#define NEWLINE_LF 2 /* \n newline seen */
#define NEWLINE_CRLF 4 /* \r\n newline seen */
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/* External C interface */
PyObject *
Py_DECREF(tmp);
return 0;
}
-
-
-#ifdef __cplusplus
-}
-#endif
# error "Py_LIMITED_API macro must not be defined"
#endif
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/* Defined in tracemalloc.c */
extern void _PyMem_DumpTraceback(int fd, const void *ptr);
{
return Py_Is(x, Py_False);
}
-
-#ifdef __cplusplus
-}
-#endif
*/
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
// Maximum code point of Unicode 6.0: 0x10ffff (1,114,111).
// The value must be the same in fileutils.c.
#define MAX_UNICODE 0x10ffff
{
return PyModuleDef_Init(&_string_module);
}
-
-
-#ifdef __cplusplus
-}
-#endif
#define Bug(x) {fprintf(stderr, "%s\n", x); exit(1);}
#endif
-#ifdef __cplusplus
-extern "C" {
-#endif
-
typedef union { double d; ULong L[2]; } U;
#ifdef IEEE_8087
_Py_dg_freedtoa(s0);
return NULL;
}
-#ifdef __cplusplus
-}
-#endif
#endif // _PY_SHORT_FLOAT_REPR == 1
# include <stdlib.h> // _sys_nerr
#endif
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/* Forward declarations */
static PyObject *
_PyErr_FormatV(PyThreadState *tstate, PyObject *exception,
{
return _PyErr_ProgramDecodedTextObject(filename, lineno, NULL);
}
-
-#ifdef __cplusplus
-}
-#endif
#include "pycore_pylifecycle.h" // _PyArg_Fini
#include "pycore_tuple.h" // _PyTuple_ITEMS()
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/* Export Stable ABIs (abi only) */
PyAPI_FUNC(int) _PyArg_Parse_SizeT(PyObject *, const char *, ...);
PyAPI_FUNC(int) _PyArg_ParseTuple_SizeT(PyObject *, const char *, ...);
}
_PyRuntime.getargs.static_parsers = NULL;
}
-
-#ifdef __cplusplus
-};
-#endif
#include <wchar.h>
#include "pycore_getopt.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
int _PyOS_opterr = 1; /* generate error messages */
Py_ssize_t _PyOS_optind = 1; /* index into argv array */
const wchar_t *_PyOS_optarg = NULL; /* optional argument */
return option;
}
-
-#ifdef __cplusplus
-}
-#endif
-
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
-#ifdef __cplusplus
-extern "C" {
-#endif
/*[clinic input]
{
return PyModuleDef_Init(&imp_module);
}
-
-
-#ifdef __cplusplus
-}
-#endif
# include <shlwapi.h>
#endif
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/* External interface */
*path0_p = path0_obj;
return 1;
}
-
-
-#ifdef __cplusplus
-}
-#endif
# include <sys/endian.h>
#endif
-#ifdef __cplusplus
-extern "C" {
-#endif
-
_Py_HashSecret_t _Py_HashSecret = {{0}};
#if Py_HASH_ALGORITHM == Py_HASH_EXTERNAL
static PyHash_FuncDef PyHash_Func = {pysiphash, "siphash24", 64, 128};
#endif
-
-#ifdef __cplusplus
-}
-#endif
#define PUTS(fd, str) (void)_Py_write_noraise(fd, str, (int)strlen(str))
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-
/* Forward declarations */
static PyStatus add_main_module(PyInterpreterState *interp);
static PyStatus init_import_site(void);
return oldhandler;
#endif
}
-
-#ifdef __cplusplus
-}
-#endif
-------------------------------------------------------------------------- */
#ifdef HAVE_DLOPEN
-#ifdef HAVE_DLFCN_H
-#include <dlfcn.h>
-#endif
-#if !HAVE_DECL_RTLD_LAZY
-#define RTLD_LAZY 1
-#endif
-#endif
-
-#ifdef __cplusplus
-extern "C" {
+# ifdef HAVE_DLFCN_H
+# include <dlfcn.h>
+# endif
+# if !HAVE_DECL_RTLD_LAZY
+# define RTLD_LAZY 1
+# endif
#endif
}
return 1;
}
-
-
-#ifdef __cplusplus
-}
-#endif
# include "windows.h"
#endif
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/* Forward */
static void flush_io(void);
static PyObject *run_mod(mod_ty, PyObject *, PyObject *, PyObject *,
{
return PyRun_InteractiveLoopFlags(f, p, NULL);
}
-
-#ifdef __cplusplus
-}
-#endif
return _PyEval_CallTracing(func, funcargs);
}
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/*[clinic input]
sys._debugmallocstats
extern PyObject *_Py_GetObjects(PyObject *, PyObject *);
#endif
-#ifdef __cplusplus
-}
-#endif
-
/*[clinic input]
sys._clear_type_cache
return Py_NewRef(r);
}
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
static PerfMapState perf_map_state;
PyAPI_FUNC(int) PyUnstable_PerfMapState_Init(void) {
#endif
}
-#ifdef __cplusplus
-}
-#endif
-
static PyMethodDef sys_methods[] = {
/* Might as well keep this in alphabetic order */