Inferno Game Engine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
356 B

/*
* Copyright (C) 2022 Riyyi
*
* SPDX-License-Identifier: MIT
*/
#pragma once
#include <functional> // std::bind, std::placeholders
// @Todo figure out lambda's and replace std::bind
// https://github.com/TheCherno/Hazel/pull/277
// variadic args in lambdas were added in C++17
#define NF_BIND_EVENT(f) std::bind(&f, this, std::placeholders::_1)