rename headers: hpp -> h

This commit is contained in:
Adeeb Shihadeh 2021-05-03 20:40:36 -07:00
parent 90ce0e954f
commit 3be0bf50c8
16 changed files with 19 additions and 19 deletions

View File

@ -8,8 +8,8 @@ typedef void (*sighandler_t)(int sig);
#include "services.h"
#include "impl_msgq.hpp"
#include "impl_zmq.hpp"
#include "impl_msgq.h"
#include "impl_zmq.h"
void sigpipe_handler(int sig) {
assert(sig == SIGPIPE);

View File

@ -4,8 +4,8 @@
#include <thread>
#include <cassert>
#include "messaging.hpp"
#include "impl_zmq.hpp"
#include "messaging.h"
#include "impl_zmq.h"
#define MSGS 1e5

View File

@ -6,7 +6,7 @@
#include <cerrno>
#include "services.h"
#include "impl_msgq.hpp"
#include "impl_msgq.h"
volatile sig_atomic_t msgq_do_exit = 0;

View File

@ -1,6 +1,6 @@
#pragma once
#include "messaging.hpp"
#include "msgq.hpp"
#include "messaging.h"
#include "msgq.h"
#include <zmq.h>
#include <string>

View File

@ -7,7 +7,7 @@
#include <zmq.h>
#include "services.h"
#include "impl_zmq.hpp"
#include "impl_zmq.h"
static int get_port(std::string endpoint) {
int port = -1;

View File

@ -1,5 +1,5 @@
#pragma once
#include "messaging.hpp"
#include "messaging.h"
#include <zmq.h>
#include <string>

View File

@ -1,6 +1,6 @@
#include "messaging.hpp"
#include "impl_zmq.hpp"
#include "impl_msgq.hpp"
#include "messaging.h"
#include "impl_zmq.h"
#include "impl_msgq.h"
#ifdef __APPLE__
const bool MUST_USE_ZMQ = true;

View File

@ -6,7 +6,7 @@ from libcpp.vector cimport vector
from libcpp cimport bool
cdef extern from "messaging.hpp":
cdef extern from "messaging.h":
cdef cppclass Context:
@staticmethod
Context * create()

View File

@ -21,7 +21,7 @@
#include <stdio.h>
#include "msgq.hpp"
#include "msgq.h"
void sigusr2_handler(int signal) {
assert(signal == SIGUSR2);

View File

@ -1,5 +1,5 @@
#include "catch2/catch.hpp"
#include "msgq.hpp"
#include "msgq.h"
TEST_CASE("ALIGN"){
REQUIRE(ALIGN(0) == 0);

View File

@ -2,7 +2,7 @@
#include <assert.h>
#include "services.h"
#include "messaging.hpp"
#include "messaging.h"
static inline uint64_t nanos_since_boot() {
struct timespec t;

View File

@ -3,7 +3,7 @@
#include <string>
#include <unistd.h>
#include "messaging.hpp"
#include "messaging.h"
#include "visionipc.h"
#include "visionbuf.h"

View File

@ -7,7 +7,7 @@
#include <sys/socket.h>
#include <unistd.h>
#include "messaging.hpp"
#include "messaging.h"
#include "ipc.h"
#include "visionipc_server.h"

View File

@ -5,7 +5,7 @@
#include <atomic>
#include <map>
#include "messaging.hpp"
#include "messaging.h"
#include "visionipc.h"
#include "visionbuf.h"