diff --git a/docs/d6/de4/librishka_8h.html b/docs/d6/de4/librishka_8h.html index 3f53fbf..aab9cee 100644 --- a/docs/d6/de4/librishka_8h.html +++ b/docs/d6/de4/librishka_8h.html @@ -94,6 +94,7 @@
#include <librishka/args.h>
#include <librishka/devices.h>
#include <librishka/fs.h>
+#include <librishka/func_args.h>
#include <librishka/gpio.h>
#include <librishka/i2c.h>
#include <librishka/int.h>
diff --git a/docs/d6/de4/librishka_8h_source.html b/docs/d6/de4/librishka_8h_source.html index 6c6c4f3..cca751e 100644 --- a/docs/d6/de4/librishka_8h_source.html +++ b/docs/d6/de4/librishka_8h_source.html @@ -108,22 +108,24 @@
27#ifndef LIBRISHKA_H
28#define LIBRISHKA_H
29
-
40#include <librishka/args.h>
-
41#include <librishka/devices.h>
-
42#include <librishka/fs.h>
-
43#include <librishka/gpio.h>
-
44#include <librishka/i2c.h>
-
45#include <librishka/int.h>
-
46#include <librishka/io.h>
-
47#include <librishka/keyboard.h>
-
48#include <librishka/memory.h>
-
49#include <librishka/runtime.h>
-
50#include <librishka/sys.h>
-
51#include <librishka/types.h>
-
53#endif /* LIBRISHKA_H */
+
40#include <librishka/args.h>
+
41#include <librishka/devices.h>
+
42#include <librishka/fs.h>
+
43#include <librishka/func_args.h>
+
44#include <librishka/gpio.h>
+
45#include <librishka/i2c.h>
+
46#include <librishka/int.h>
+
47#include <librishka/io.h>
+
48#include <librishka/keyboard.h>
+
49#include <librishka/memory.h>
+
50#include <librishka/runtime.h>
+
51#include <librishka/sys.h>
+
52#include <librishka/types.h>
+
54#endif /* LIBRISHKA_H */
Header file for handling command line arguments in Rishka applications.
Definitions related to PS/2 devices for the Rishka Virtual Machine SDK.
Header file for file system operations in Rishka applications.
+
Header file defining macros and types for handling function arguments in the Rishka SDK.
Header file for GPIO operations in Rishka applications.
Header file for I2C (Inter-Integrated Circuit) operations in Rishka applications.
Header file for interrupt handling in Rishka applications.
diff --git a/docs/dc/d54/func__args_8h.html b/docs/dc/d54/func__args_8h.html new file mode 100644 index 0000000..f3ed0bf --- /dev/null +++ b/docs/dc/d54/func__args_8h.html @@ -0,0 +1,251 @@ + + + + + + + +Rishka: sdk/librishka/func_args.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
Rishka +
+
RISC-V virtual runtime in C/C++ made for ESP32-WROVER
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
func_args.h File Reference
+
+
+ +

Header file defining macros and types for handling function arguments in the Rishka SDK. +More...

+ +

Go to the source code of this file.

+ + + + + + + + + + + +

+Macros

#define func_arg_start(ap, param)   __builtin_va_start(ap, param)
 Macro for starting traversal of function arguments. More...
 
#define func_arg_get(ap, type)   __builtin_va_arg(ap, type)
 Macro for accessing function arguments. More...
 
#define func_arg_end(ap)   __builtin_va_end(ap)
 Macro for ending traversal of function arguments. More...
 
+ + + + +

+Typedefs

typedef __builtin_va_list func_arg_list
 Type representing a list of function arguments. More...
 
+

Detailed Description

+

Header file defining macros and types for handling function arguments in the Rishka SDK.

+
Author
Nathanne Isip
+

This header file provides macros and types for handling function arguments in the Rishka SDK. It defines a type func_arg_list representing a list of function arguments and macros for starting, accessing, and ending the traversal of function arguments.

+

Macro Definition Documentation

+ +

◆ func_arg_end

+ +
+
+ + + + + + + + +
#define func_arg_end( ap)   __builtin_va_end(ap)
+
+ +

Macro for ending traversal of function arguments.

+

This macro ends the traversal of function arguments represented by the func_arg_list object ap.

+
Parameters
+ + +
apA func_arg_list object representing the list of function arguments.
+
+
+ +
+
+ +

◆ func_arg_get

+ +
+
+ + + + + + + + + + + + + + + + + + +
#define func_arg_get( ap,
 type 
)   __builtin_va_arg(ap, type)
+
+ +

Macro for accessing function arguments.

+

This macro retrieves the next argument of type type from the func_arg_list object ap.

+
Parameters
+ + + +
apA func_arg_list object representing the list of function arguments.
typeThe type of the argument to retrieve.
+
+
+
Returns
The next argument of the specified type.
+ +
+
+ +

◆ func_arg_start

+ +
+
+ + + + + + + + + + + + + + + + + + +
#define func_arg_start( ap,
 param 
)   __builtin_va_start(ap, param)
+
+ +

Macro for starting traversal of function arguments.

+

This macro initializes a func_arg_list object ap for traversing the function arguments starting from the parameter param.

+
Parameters
+ + + +
apA func_arg_list object to be initialized.
paramThe last named parameter before the variadic arguments.
+
+
+ +
+
+

Typedef Documentation

+ +

◆ func_arg_list

+ +
+
+ + + + +
func_arg_list
+
+ +

Type representing a list of function arguments.

+

This typedef represents a list of function arguments, allowing functions to accept variable numbers of arguments.

+ +
+
+
+
+ \ No newline at end of file diff --git a/docs/dc/d54/func__args_8h.js b/docs/dc/d54/func__args_8h.js new file mode 100644 index 0000000..10faa41 --- /dev/null +++ b/docs/dc/d54/func__args_8h.js @@ -0,0 +1,7 @@ +var func__args_8h = +[ + [ "func_arg_end", "dc/d54/func__args_8h.html#a938bc55e309b0cdd220cf04d3b514b27", null ], + [ "func_arg_get", "dc/d54/func__args_8h.html#aa2d8a96d96f9fca9ed541b635642deed", null ], + [ "func_arg_start", "dc/d54/func__args_8h.html#a10a346bcd6524f9d1f6307f85634dc6f", null ], + [ "func_arg_list", "dc/d54/func__args_8h.html#aa592ed87a6a8452c99200074e1cf9162", null ] +]; \ No newline at end of file diff --git a/docs/dc/d54/func__args_8h_source.html b/docs/dc/d54/func__args_8h_source.html new file mode 100644 index 0000000..acfa7c0 --- /dev/null +++ b/docs/dc/d54/func__args_8h_source.html @@ -0,0 +1,127 @@ + + + + + + + +Rishka: sdk/librishka/func_args.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
Rishka +
+
RISC-V virtual runtime in C/C++ made for ESP32-WROVER
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
func_args.h
+
+
+Go to the documentation of this file.
1/*
+
2 * This file is part of the Rishka distribution (https://github.com/nthnn/rishka).
+
3 * Copyright (c) 2024 Nathanne Isip.
+
4 *
+
5 * This program is free software: you can redistribute it and/or modify
+
6 * it under the terms of the GNU General Public License as published by
+
7 * the Free Software Foundation, version 3.
+
8 *
+
9 * This program is distributed in the hope that it will be useful, but
+
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
+
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+
12 * General Public License for more details.
+
13 *
+
14 * You should have received a copy of the GNU General Public License
+
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
+
16 */
+
17
+
28#ifndef LIBRISHKA_FUNC_ARGS_H
+
29#define LIBRISHKA_FUNC_ARGS_H
+
30
+
37typedef __builtin_va_list func_arg_list;
+
38
+
49#define func_arg_start(ap, param) __builtin_va_start(ap, param)
+
50
+
61#define func_arg_get(ap, type) __builtin_va_arg(ap, type)
+
62
+
71#define func_arg_end(ap) __builtin_va_end(ap)
+
72
+
73#endif
+
__builtin_va_list func_arg_list
Type representing a list of function arguments.
Definition: func_args.h:37
+
+
+ \ No newline at end of file diff --git a/docs/dir_6e8afc538eccbcb491711fd0cc7b9703.html b/docs/dir_6e8afc538eccbcb491711fd0cc7b9703.html index 28f42b3..98f8135 100644 --- a/docs/dir_6e8afc538eccbcb491711fd0cc7b9703.html +++ b/docs/dir_6e8afc538eccbcb491711fd0cc7b9703.html @@ -100,6 +100,9 @@ file  fs.h [code]  Header file for file system operations in Rishka applications.
  +file  func_args.h [code] + Header file defining macros and types for handling function arguments in the Rishka SDK.
+  file  gpio.h [code]  Header file for GPIO operations in Rishka applications.
  diff --git a/docs/dir_6e8afc538eccbcb491711fd0cc7b9703.js b/docs/dir_6e8afc538eccbcb491711fd0cc7b9703.js index 515a7f1..695581b 100644 --- a/docs/dir_6e8afc538eccbcb491711fd0cc7b9703.js +++ b/docs/dir_6e8afc538eccbcb491711fd0cc7b9703.js @@ -3,6 +3,7 @@ var dir_6e8afc538eccbcb491711fd0cc7b9703 = [ "args.h", "db/d77/args_8h.html", "db/d77/args_8h" ], [ "devices.h", "d7/dde/devices_8h.html", "d7/dde/devices_8h" ], [ "fs.h", "df/d26/fs_8h.html", "df/d26/fs_8h" ], + [ "func_args.h", "dc/d54/func__args_8h.html", "dc/d54/func__args_8h" ], [ "gpio.h", "d6/d7c/gpio_8h.html", "d6/d7c/gpio_8h" ], [ "i2c.h", "d5/daf/i2c_8h.html", "d5/daf/i2c_8h" ], [ "int.h", "d3/d7e/int_8h.html", "d3/d7e/int_8h" ], diff --git a/docs/files.html b/docs/files.html index 667f245..2d98b65 100644 --- a/docs/files.html +++ b/docs/files.html @@ -95,17 +95,18 @@  args.hHeader file for handling command line arguments in Rishka applications  devices.hDefinitions related to PS/2 devices for the Rishka Virtual Machine SDK  fs.hHeader file for file system operations in Rishka applications - gpio.hHeader file for GPIO operations in Rishka applications - i2c.hHeader file for I2C (Inter-Integrated Circuit) operations in Rishka applications - int.hHeader file for interrupt handling in Rishka applications - io.hHeader file for input/output operations in Rishka applications - keyboard.hThis header file defines the Keyboard class, providing access to keyboard-related functionalities in the Rishka VM SDK - memory.hHeader file for memory management in Rishka applications - runtime.hProvides utilities for managing runtime operations within Rishka applications - sys.hHeader file for system utilities in Rishka applications - types.hHeader file for common data types used in Rishka applications - librishka.hMain header file for the Rishka SDK - librishka_impl.hpp + func_args.hHeader file defining macros and types for handling function arguments in the Rishka SDK + gpio.hHeader file for GPIO operations in Rishka applications + i2c.hHeader file for I2C (Inter-Integrated Circuit) operations in Rishka applications + int.hHeader file for interrupt handling in Rishka applications + io.hHeader file for input/output operations in Rishka applications + keyboard.hThis header file defines the Keyboard class, providing access to keyboard-related functionalities in the Rishka VM SDK + memory.hHeader file for memory management in Rishka applications + runtime.hProvides utilities for managing runtime operations within Rishka applications + sys.hHeader file for system utilities in Rishka applications + types.hHeader file for common data types used in Rishka applications + librishka.hMain header file for the Rishka SDK + librishka_impl.hpp
diff --git a/docs/globals.html b/docs/globals.html index 7e4a3e8..a33761a 100644 --- a/docs/globals.html +++ b/docs/globals.html @@ -95,6 +95,10 @@

- a -