infix
A JIT-Powered FFI Library for C
Loading...
Searching...
No Matches
platform.c File Reference

Implements runtime detection of CPU and OS features. More...

#include "common/platform.h"
#include <infix/infix.h>
#include <stdint.h>
Include dependency graph for platform.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

INFIX_API INFIX_NODISCARD infix_version_t infix_get_version (void)
 Retrieves the version of the infix library linked at runtime.
 

Detailed Description

Implements runtime detection of CPU and OS features.

Copyright (c) 2025 Sanko Robinson

This source code is dual-licensed under the Artistic License 2.0 or the MIT License. You may choose to use this code under the terms of either license.

SPDX-License-Identifier: (Artistic-2.0 OR MIT)

The documentation blocks within this file are licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).

SPDX-License-Identifier: CC-BY-4.0

Function Documentation

◆ infix_get_version()

INFIX_API INFIX_NODISCARD infix_version_t infix_get_version ( void  )

Retrieves the version of the infix library linked at runtime.

Returns
An infix_version_t structure containing the major, minor, and patch numbers.