Skip to content

Instantly share code, notes, and snippets.

@JoniSt
JoniSt / TypedLocallyUniqueID.hpp
Created February 12, 2023 00:15
Typed C++ LUID
#pragma once
#include <cstddef>
#include <atomic>
#include <functional>
#include <boost/container_hash/hash.hpp>
namespace ttlhacker::uid {
/**

Version 4 SHEET 1 3312 1040 WIRE 912 -720 0 -720 WIRE 1136 -720 912 -720 WIRE 1920 -720 1136 -720 WIRE 2592 -720 1920 -720 WIRE 2848 -720 2592 -720 WIRE 1136 -624 1136 -720 WIRE 1920 -592 1920 -720 WIRE 912 -512 912 -720

//
// Created by jonathan on 01.09.21.
//
#ifndef OGLGAME_ANY_KEY_HPP
#define OGLGAME_ANY_KEY_HPP
#include <functional>
#include <typeinfo>
#include <cstddef>
diff --git a/src/sail-codecs/CMakeLists.txt b/src/sail-codecs/CMakeLists.txt
index ee06b9cd..75530943 100644
--- a/src/sail-codecs/CMakeLists.txt
+++ b/src/sail-codecs/CMakeLists.txt
@@ -7,27 +7,27 @@ list(SORT CODECS)
# Filter out codecs
#
if (SAIL_ONLY_CODECS)
- set(ENABLED_CODECS "")
+ set(ENABLED_CODECS_TEMP "")
diff --git a/src/libsail/context.c b/src/libsail/context.c
index 77a706e9..9a8203c2 100644
--- a/src/libsail/context.c
+++ b/src/libsail/context.c
@@ -40,6 +40,10 @@ sail_status_t sail_init_with_flags(int flags) {
return SAIL_OK;
}
+void sail_set_on_context_init(sail_status_t(* on_context_init)(int *flags)) {
+ g_on_sail_context_init = on_context_init;