mirror of
https://github.com/opnsense/src.git
synced 2026-04-10 03:46:58 -04:00
9.0.1 final release c1a0a213378a458fbea1a5c77b315c7dce08fd05. Release notes for llvm, clang, lld and libc++ 9.0.1 will become available here: https://releases.llvm.org/9.0.1/docs/ReleaseNotes.html https://releases.llvm.org/9.0.1/tools/clang/docs/ReleaseNotes.html https://releases.llvm.org/9.0.1/tools/lld/docs/ReleaseNotes.html https://releases.llvm.org/9.0.1/projects/libcxx/docs/ReleaseNotes.html PR: 240629 MFC after: 1 month
26 lines
1,015 B
C++
26 lines
1,015 B
C++
//===-- PythonReadline.h ----------------------------------------*- C++ -*-===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_PYTHONREADLINE_H
|
|
#define LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_PYTHONREADLINE_H
|
|
|
|
#if !defined(LLDB_DISABLE_LIBEDIT) && defined(__linux__)
|
|
// NOTE: Since Python may define some pre-processor definitions which affect the
|
|
// standard headers on some systems, you must include Python.h before any
|
|
// standard headers are included.
|
|
#include "Python.h"
|
|
|
|
// no need to hack into Python's readline module if libedit isn't used.
|
|
//
|
|
#define LLDB_USE_LIBEDIT_READLINE_COMPAT_MODULE 1
|
|
|
|
extern "C" PyMODINIT_FUNC initlldb_readline(void);
|
|
|
|
#endif
|
|
|
|
#endif // LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_PYTHONREADLINE_H
|