#include <cassert>
#include <clocale>
#include <codecvt>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <spdlog/spdlog.h>
#include <uuid/uuid.h>
import <AppKit/AppKit.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <netinet/in.h>
#include <algorithm>
#include <array>
#include <concepts>
#include <filesystem>
#include <fstream>
#include <iostream>
#include <memory>
#include <stdexcept>
#include <string>
#include <thread>
#include <tuple>
Go to the source code of this file.
|
namespace | Photon |
| This file is also about defining core js concepts.
|
|
◆ INVALID_SOCKET
#define INVALID_SOCKET ((uintptr_t)-1) |
◆ PHOTON_API
◆ PHOTON_ASSERT
#define PHOTON_ASSERT |
( |
|
expression | ) |
assert(expression) |
◆ PHOTON_COPY_DEFAULT
#define PHOTON_COPY_DEFAULT |
( |
|
KLASS | ) |
|
Value: KLASS& operator=(const KLASS&) = default; \
KLASS(const KLASS&) = default;
◆ PHOTON_COPY_DELETE
#define PHOTON_COPY_DELETE |
( |
|
KLASS | ) |
|
Value: KLASS& operator=(const KLASS&) = delete; \
KLASS(const KLASS&) = delete;
◆ PHOTON_ENV
#define PHOTON_ENV getenv |
◆ PHOTON_MOVE_DEFAULT
#define PHOTON_MOVE_DEFAULT |
( |
|
KLASS | ) |
|
Value: KLASS& operator=(KLASS&&) = default; \
KLASS(KLASS&&) = default;
◆ PHOTON_MOVE_DELETE
#define PHOTON_MOVE_DELETE |
( |
|
KLASS | ) |
|
Value: KLASS& operator=(KLASS&&) = delete; \
KLASS(KLASS&&) = delete;
◆ PHOTON_SLEEP
#define PHOTON_SLEEP sleep |
◆ SD_BOTH
#define SD_BOTH SHUT_RDWR |
◆ SD_READ
◆ SD_SEND
◆ uuid_string_t
typedef unsigned short uuid_string_t |