fish-shell/src/topic_monitor.h

26 lines
371 B
C++
Raw Normal View History

#ifndef FISH_TOPIC_MONITOR_H
#define FISH_TOPIC_MONITOR_H
2023-01-14 22:56:24 +00:00
#include "config.h"
2023-01-14 22:56:24 +00:00
#include <stdint.h>
using generation_t = uint64_t;
2023-01-14 22:56:24 +00:00
#if INCLUDE_RUST_HEADERS
2023-01-14 22:56:24 +00:00
#include "topic_monitor.rs.h"
2023-01-14 22:56:24 +00:00
#else
2023-01-14 22:56:24 +00:00
// Hacks to allow us to compile without Rust headers.
struct generation_list_t {
uint64_t sighupint;
uint64_t sigchld;
uint64_t internal_exit;
};
2023-01-14 22:56:24 +00:00
#endif
#endif