mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
SCRIPT Run cc include replacements
This commit is contained in:
committed by
Peter Johnson
parent
f0a3c64121
commit
7c6efa41ae
@@ -1,6 +1,6 @@
|
||||
#include <semiwrap.h>
|
||||
#include "nt_instance.h"
|
||||
#include "ntcore_cpp.h"
|
||||
#include "wpi/nt/ntcore_cpp.hpp"
|
||||
|
||||
#include <set>
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <ntcore.h>
|
||||
#include <networktables/NetworkTableInstance.h>
|
||||
#include "wpi/nt/ntcore.h"
|
||||
#include "wpi/nt/NetworkTableInstance.hpp"
|
||||
|
||||
namespace pyntcore {
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
#include <semiwrap.h>
|
||||
#include <networktables/NetworkTableValue.h>
|
||||
#include <networktables/NetworkTableType.h>
|
||||
#include "wpi/nt/NetworkTableValue.hpp"
|
||||
#include "wpi/nt/NetworkTableType.hpp"
|
||||
#include <fmt/format.h>
|
||||
|
||||
namespace pyntcore {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
#include <semiwrap.h>
|
||||
#include <networktables/NetworkTableEntry.h>
|
||||
#include <networktables/NetworkTableValue.h>
|
||||
#include "wpi/nt/NetworkTableEntry.hpp"
|
||||
#include "wpi/nt/NetworkTableValue.hpp"
|
||||
|
||||
namespace pyntcore {
|
||||
|
||||
|
||||
@@ -48,13 +48,13 @@ update_init = [
|
||||
"ntcore.meta ntcore._ntcore.meta"
|
||||
]
|
||||
scan_headers_ignore = [
|
||||
"networktables/ProtobufTopic.h",
|
||||
"networktables/UnitTopic.h",
|
||||
"wpi/nt/ProtobufTopic.hpp",
|
||||
"wpi/nt/UnitTopic.hpp",
|
||||
|
||||
"ntcore.h",
|
||||
"ntcore_c.h",
|
||||
"ntcore_c_types.h",
|
||||
"ntcore_test.h",
|
||||
"wpi/nt/ntcore.h",
|
||||
"wpi/nt/ntcore_c.h",
|
||||
"wpi/nt/ntcore_c_types.h",
|
||||
"wpi/nt/ntcore_test.hpp",
|
||||
|
||||
"src/*",
|
||||
]
|
||||
@@ -67,30 +67,30 @@ depends = ["wpiutil", "wpinet", "wpilog"]
|
||||
|
||||
[tool.semiwrap.extension_modules."ntcore._ntcore".headers]
|
||||
# networktables
|
||||
BooleanArrayTopic = "networktables/BooleanArrayTopic.h"
|
||||
BooleanTopic = "networktables/BooleanTopic.h"
|
||||
DoubleArrayTopic = "networktables/DoubleArrayTopic.h"
|
||||
DoubleTopic = "networktables/DoubleTopic.h"
|
||||
FloatArrayTopic = "networktables/FloatArrayTopic.h"
|
||||
FloatTopic = "networktables/FloatTopic.h"
|
||||
GenericEntry = "networktables/GenericEntry.h"
|
||||
IntegerArrayTopic = "networktables/IntegerArrayTopic.h"
|
||||
IntegerTopic = "networktables/IntegerTopic.h"
|
||||
MultiSubscriber = "networktables/MultiSubscriber.h"
|
||||
NTSendable = "networktables/NTSendable.h"
|
||||
NTSendableBuilder = "networktables/NTSendableBuilder.h"
|
||||
NetworkTable = "networktables/NetworkTable.h"
|
||||
NetworkTableEntry = "networktables/NetworkTableEntry.h"
|
||||
NetworkTableInstance = "networktables/NetworkTableInstance.h"
|
||||
NetworkTableListener = "networktables/NetworkTableListener.h"
|
||||
NetworkTableType = "networktables/NetworkTableType.h"
|
||||
NetworkTableValue = "networktables/NetworkTableValue.h"
|
||||
RawTopic = "networktables/RawTopic.h"
|
||||
StructTopic = "networktables/StructTopic.h"
|
||||
StructArrayTopic = "networktables/StructArrayTopic.h"
|
||||
StringArrayTopic = "networktables/StringArrayTopic.h"
|
||||
StringTopic = "networktables/StringTopic.h"
|
||||
Topic = "networktables/Topic.h"
|
||||
BooleanArrayTopic = "wpi/nt/BooleanArrayTopic.hpp"
|
||||
BooleanTopic = "wpi/nt/BooleanTopic.hpp"
|
||||
DoubleArrayTopic = "wpi/nt/DoubleArrayTopic.hpp"
|
||||
DoubleTopic = "wpi/nt/DoubleTopic.hpp"
|
||||
FloatArrayTopic = "wpi/nt/FloatArrayTopic.hpp"
|
||||
FloatTopic = "wpi/nt/FloatTopic.hpp"
|
||||
GenericEntry = "wpi/nt/GenericEntry.hpp"
|
||||
IntegerArrayTopic = "wpi/nt/IntegerArrayTopic.hpp"
|
||||
IntegerTopic = "wpi/nt/IntegerTopic.hpp"
|
||||
MultiSubscriber = "wpi/nt/MultiSubscriber.hpp"
|
||||
NTSendable = "wpi/nt/NTSendable.hpp"
|
||||
NTSendableBuilder = "wpi/nt/NTSendableBuilder.hpp"
|
||||
NetworkTable = "wpi/nt/NetworkTable.hpp"
|
||||
NetworkTableEntry = "wpi/nt/NetworkTableEntry.hpp"
|
||||
NetworkTableInstance = "wpi/nt/NetworkTableInstance.hpp"
|
||||
NetworkTableListener = "wpi/nt/NetworkTableListener.hpp"
|
||||
NetworkTableType = "wpi/nt/NetworkTableType.hpp"
|
||||
NetworkTableValue = "wpi/nt/NetworkTableValue.hpp"
|
||||
RawTopic = "wpi/nt/RawTopic.hpp"
|
||||
StructTopic = "wpi/nt/StructTopic.hpp"
|
||||
StructArrayTopic = "wpi/nt/StructArrayTopic.hpp"
|
||||
StringArrayTopic = "wpi/nt/StringArrayTopic.hpp"
|
||||
StringTopic = "wpi/nt/StringTopic.hpp"
|
||||
Topic = "wpi/nt/Topic.hpp"
|
||||
|
||||
ntcore_cpp = "ntcore_cpp.h"
|
||||
ntcore_cpp_types = "ntcore_cpp_types.h"
|
||||
ntcore_cpp = "wpi/nt/ntcore_cpp.hpp"
|
||||
ntcore_cpp_types = "wpi/nt/ntcore_cpp_types.hpp"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
extra_includes:
|
||||
- networktables/NTSendableBuilder.h
|
||||
- wpi/nt/NTSendableBuilder.hpp
|
||||
|
||||
classes:
|
||||
nt::NTSendable:
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
extra_includes:
|
||||
- networktables/BooleanArrayTopic.h
|
||||
- networktables/BooleanTopic.h
|
||||
- networktables/DoubleArrayTopic.h
|
||||
- networktables/DoubleTopic.h
|
||||
- networktables/FloatArrayTopic.h
|
||||
- networktables/FloatTopic.h
|
||||
- networktables/IntegerArrayTopic.h
|
||||
- networktables/IntegerTopic.h
|
||||
- networktables/NetworkTableInstance.h
|
||||
- networktables/RawTopic.h
|
||||
- networktables/StringArrayTopic.h
|
||||
- networktables/StringTopic.h
|
||||
- networktables/StructArrayTopic.h
|
||||
- networktables/StructTopic.h
|
||||
- networktables/Topic.h
|
||||
- wpi/nt/BooleanArrayTopic.hpp
|
||||
- wpi/nt/BooleanTopic.hpp
|
||||
- wpi/nt/DoubleArrayTopic.hpp
|
||||
- wpi/nt/DoubleTopic.hpp
|
||||
- wpi/nt/FloatArrayTopic.hpp
|
||||
- wpi/nt/FloatTopic.hpp
|
||||
- wpi/nt/IntegerArrayTopic.hpp
|
||||
- wpi/nt/IntegerTopic.hpp
|
||||
- wpi/nt/NetworkTableInstance.hpp
|
||||
- wpi/nt/RawTopic.hpp
|
||||
- wpi/nt/StringArrayTopic.hpp
|
||||
- wpi/nt/StringTopic.hpp
|
||||
- wpi/nt/StructArrayTopic.hpp
|
||||
- wpi/nt/StructTopic.hpp
|
||||
- wpi/nt/Topic.hpp
|
||||
- src/py2value.h
|
||||
- src/pyentry.h
|
||||
- wpystruct.h
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
extra_includes:
|
||||
- networktables/NetworkTableInstance.h
|
||||
- networktables/Topic.h
|
||||
- wpi/nt/NetworkTableInstance.hpp
|
||||
- wpi/nt/Topic.hpp
|
||||
- src/py2value.h
|
||||
- src/pyentry.h
|
||||
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
extra_includes:
|
||||
- networktables/BooleanArrayTopic.h
|
||||
- networktables/BooleanTopic.h
|
||||
- networktables/DoubleArrayTopic.h
|
||||
- networktables/DoubleTopic.h
|
||||
- networktables/FloatArrayTopic.h
|
||||
- networktables/FloatTopic.h
|
||||
- networktables/IntegerArrayTopic.h
|
||||
- networktables/IntegerTopic.h
|
||||
- networktables/MultiSubscriber.h
|
||||
- networktables/RawTopic.h
|
||||
- networktables/StringArrayTopic.h
|
||||
- networktables/StringTopic.h
|
||||
- networktables/StructArrayTopic.h
|
||||
- networktables/StructTopic.h
|
||||
- networktables/Topic.h
|
||||
- wpi/nt/BooleanArrayTopic.hpp
|
||||
- wpi/nt/BooleanTopic.hpp
|
||||
- wpi/nt/DoubleArrayTopic.hpp
|
||||
- wpi/nt/DoubleTopic.hpp
|
||||
- wpi/nt/FloatArrayTopic.hpp
|
||||
- wpi/nt/FloatTopic.hpp
|
||||
- wpi/nt/IntegerArrayTopic.hpp
|
||||
- wpi/nt/IntegerTopic.hpp
|
||||
- wpi/nt/MultiSubscriber.hpp
|
||||
- wpi/nt/RawTopic.hpp
|
||||
- wpi/nt/StringArrayTopic.hpp
|
||||
- wpi/nt/StringTopic.hpp
|
||||
- wpi/nt/StructArrayTopic.hpp
|
||||
- wpi/nt/StructTopic.hpp
|
||||
- wpi/nt/Topic.hpp
|
||||
- src/py2value.h
|
||||
- src/nt_instance.h
|
||||
- wpi/datalog/DataLog.h
|
||||
- wpi/datalog/DataLog.hpp
|
||||
- wpystruct.h
|
||||
|
||||
classes:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
extra_includes:
|
||||
- networktables/NetworkTableType.h
|
||||
- wpi/nt/NetworkTableType.hpp
|
||||
- src/py2value.h
|
||||
|
||||
functions:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
extra_includes:
|
||||
- networktables/GenericEntry.h
|
||||
- networktables/NetworkTableInstance.h
|
||||
- wpi/nt/GenericEntry.hpp
|
||||
- wpi/nt/NetworkTableInstance.hpp
|
||||
|
||||
classes:
|
||||
nt::Topic:
|
||||
|
||||
@@ -4,7 +4,7 @@ defaults:
|
||||
|
||||
extra_includes:
|
||||
- pybind11/stl.h
|
||||
- networktables/Topic.h
|
||||
- wpi/nt/Topic.hpp
|
||||
|
||||
functions:
|
||||
RemoveListener:
|
||||
|
||||
Reference in New Issue
Block a user