mirror of
https://github.com/libretro/mist.git
synced 2026-11-07 04:16:02 -10:00
28 lines
558 B
TOML
28 lines
558 B
TOML
language = "C"
|
|
|
|
|
|
|
|
after_includes = """
|
|
|
|
#define MIST_ERROR(result) (result >> 16)
|
|
#define MIST_RESULT_CODE(result) (result & 0xFFFF)
|
|
#define MIST_IS_SUCCESS(result) (MIST_RESULT_CODE(result) == MistResult_Success)
|
|
#define MIST_IS_ERROR(result) (!MIST_IS_SUCCESS(result))
|
|
|
|
#define MIST_STEAM_INPUT_HANDLE_ALL_CONTROLLERS UINT64_MAX"""
|
|
|
|
header = """/* Autogenerated file, do not edit by hand. */
|
|
#ifndef mist_h
|
|
#define mist_h"""
|
|
|
|
trailer = """
|
|
#include "mist_callbacks.h"
|
|
|
|
#endif /* mist_h */
|
|
"""
|
|
|
|
includes = ["mist_results.h"]
|
|
|
|
[enum]
|
|
prefix_with_name = true
|