Doxygen code comment cleanups and new blog post. No code changes. (0.41.5)
This commit is contained in:
parent
4e69a3ce63
commit
4309ec2a52
212 changed files with 423 additions and 476 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/**
|
||||
/*
|
||||
* This file is part of the Fun programming language.
|
||||
* https://fun-lang.xyz/
|
||||
*
|
||||
|
|
@ -29,6 +29,7 @@
|
|||
* See also
|
||||
* - ini_alloc_handle(), ini_free_handle() in src/vm/ini/handles.c
|
||||
*/
|
||||
|
||||
/* OP_INI_FREE: pops handle; pushes 1/0 */
|
||||
#ifdef FUN_WITH_INI
|
||||
case OP_INI_FREE: {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/**
|
||||
/*
|
||||
* This file is part of the Fun programming language.
|
||||
* https://fun-lang.xyz/
|
||||
*
|
||||
|
|
@ -28,6 +28,7 @@
|
|||
* Errors
|
||||
* - Invalid handle or arguments simply yield the default value; no exception.
|
||||
*/
|
||||
|
||||
/* OP_INI_GET_BOOL */
|
||||
#ifdef FUN_WITH_INI
|
||||
case OP_INI_GET_BOOL: {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/**
|
||||
/*
|
||||
* This file is part of the Fun programming language.
|
||||
* https://fun-lang.xyz/
|
||||
*
|
||||
|
|
@ -22,6 +22,7 @@
|
|||
* Errors
|
||||
* - Invalid handle/args simply produce the default; no exception raised.
|
||||
*/
|
||||
|
||||
/* OP_INI_GET_DOUBLE */
|
||||
#ifdef FUN_WITH_INI
|
||||
case OP_INI_GET_DOUBLE: {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/**
|
||||
/*
|
||||
* This file is part of the Fun programming language.
|
||||
* https://fun-lang.xyz/
|
||||
*
|
||||
|
|
@ -22,6 +22,7 @@
|
|||
* Errors
|
||||
* - Invalid handle/args produce the default; no VM exception is raised.
|
||||
*/
|
||||
|
||||
/* OP_INI_GET_INT */
|
||||
#ifdef FUN_WITH_INI
|
||||
case OP_INI_GET_INT: {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/**
|
||||
/*
|
||||
* This file is part of the Fun programming language.
|
||||
* https://fun-lang.xyz/
|
||||
*
|
||||
|
|
@ -22,6 +22,7 @@
|
|||
* Errors
|
||||
* - Invalid handle/args result in pushing the default (or empty string).
|
||||
*/
|
||||
|
||||
/* OP_INI_GET_STRING */
|
||||
#ifdef FUN_WITH_INI
|
||||
case OP_INI_GET_STRING: {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/**
|
||||
/*
|
||||
* This file is part of the Fun programming language.
|
||||
* https://fun-lang.xyz/
|
||||
*
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
* @file handles.h
|
||||
* @brief INI handle registry for iniparser 4.2.6 used by INI VM opcodes.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef FUN_WITH_INI
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/**
|
||||
/*
|
||||
* This file is part of the Fun programming language.
|
||||
* https://fun-lang.xyz/
|
||||
*
|
||||
|
|
@ -23,6 +23,7 @@
|
|||
* - The returned handle must later be released with OP_INI_FREE to avoid
|
||||
* leaking dictionary objects.
|
||||
*/
|
||||
|
||||
/* OP_INI_LOAD: pops path string; pushes handle (>0) or 0 */
|
||||
#ifdef FUN_WITH_INI
|
||||
case OP_INI_LOAD: {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/**
|
||||
/*
|
||||
* This file is part of the Fun programming language.
|
||||
* https://fun-lang.xyz/
|
||||
*
|
||||
|
|
@ -22,6 +22,7 @@
|
|||
* Errors
|
||||
* - Failing fopen() or invalid handle simply return 0; no exception is thrown.
|
||||
*/
|
||||
|
||||
/* OP_INI_SAVE */
|
||||
#ifdef FUN_WITH_INI
|
||||
case OP_INI_SAVE: {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/**
|
||||
/*
|
||||
* This file is part of the Fun programming language.
|
||||
* https://fun-lang.xyz/
|
||||
*
|
||||
|
|
@ -23,6 +23,7 @@
|
|||
* Errors
|
||||
* - No VM exception is thrown; failures return 0.
|
||||
*/
|
||||
|
||||
/* OP_INI_SET */
|
||||
#ifdef FUN_WITH_INI
|
||||
case OP_INI_SET: {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,12 @@
|
|||
/*
|
||||
* This file is part of the Fun programming language.
|
||||
* https://fun-lang.xyz/
|
||||
*
|
||||
* Copyright 2025 Johannes Findeisen <you@hanez.org>
|
||||
* Licensed under the terms of the Apache-2.0 license.
|
||||
* https://opensource.org/license/apache-2-0
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file stubs.c
|
||||
* @brief Stub opcode implementations for INI support when FUN_WITH_INI is disabled.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/**
|
||||
/*
|
||||
* This file is part of the Fun programming language.
|
||||
* https://fun-lang.xyz/
|
||||
*
|
||||
|
|
@ -23,6 +23,7 @@
|
|||
* - iniparser 4.2.6 dictionary_unset() returns void; we assume success when
|
||||
* called with valid parameters.
|
||||
*/
|
||||
|
||||
/* OP_INI_UNSET */
|
||||
#ifdef FUN_WITH_INI
|
||||
case OP_INI_UNSET: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue