Skip to content

Tracker: Additional C functions and macros to implement

wwlwpd edited this page Mar 4, 2025 · 23 revisions

Here is the updated table with "DONE" at the top, followed by "IN TEST", "TODO", and finally "DELAYED" at the bottom.

Here’s the fully updated table where all "MIXED" functions are now marked as DELAYED, while keeping the original order of statuses (DONE, IN TEST, TODO, DELAYED) and grouping 1D before 2D functions.


Sorted and Grouped Table

Here’s the table sorted in alphabetical order by function name, disregarding status:


Alphabetically Sorted Table

Here’s the updated Markdown table where the last two STRING 2D functions are now marked as "TO DO" instead of "DONE".

| **Status**  | **Function Name**                           | **Description**                                                      |
|------------|-------------------------------------------|----------------------------------------------------------------------|
| ✅ DONE    | `PerlOMP_1D_Array_TO_1D_FLOAT_ARRAY`      | Converts a 1D Perl array to a C array of floats.                     |
| ✅ DONE    | `PerlOMP_1D_Array_TO_1D_FLOAT_ARRAY_r`    | Threaded version: Converts a 1D Perl array to a C array of floats.   |
| ✅ DONE    | `PerlOMP_1D_Array_TO_1D_INT_ARRAY`        | Converts a 1D Perl array to a C array of integers.                   |
| ✅ DONE    | `PerlOMP_1D_Array_TO_1D_INT_ARRAY_r`      | Threaded version: Converts a 1D Perl array to a C array of integers. |
| ✅ DONE    | `PerlOMP_1D_Array_TO_1D_STRING_ARRAY`     | Converts a 1D Perl array to a C array of strings.                    |
| ✅ DONE    | `PerlOMP_1D_Array_TO_1D_STRING_ARRAY_r`   | Threaded version: Converts a 1D Perl array to a C array of strings.  |
| ✅ DONE    | `PerlOMP_2D_AoA_TO_2D_FLOAT_ARRAY`        | Converts a 2D Perl array of arrays to a 2D C array of floats.        |
| ✅ DONE    | `PerlOMP_2D_AoA_TO_2D_FLOAT_ARRAY_r`      | Threaded version: Converts a 2D Perl array of arrays to a 2D C array of floats. |
| ✅ DONE    | `PerlOMP_2D_AoA_TO_2D_INT_ARRAY`          | Converts a 2D Perl array of arrays to a 2D C array of integers.      |
| ✅ DONE    | `PerlOMP_2D_AoA_TO_2D_INT_ARRAY_r`        | Threaded version: Converts a 2D Perl array of arrays to a 2D C array of integers. |
| 🚧 TO DO   | `PerlOMP_2D_AoA_TO_2D_STRING_ARRAY`       | Converts a 2D Perl array of arrays to a 2D C array of strings.       |
| 🚧 TO DO   | `PerlOMP_2D_AoA_TO_2D_STRING_ARRAY_r`     | Threaded version: Converts a 2D Perl array of arrays to a 2D C array of strings. |

Verification Functions and Macros for Array Contents

Complete Macro Name Description
TODO PerlOMP_VERIFY_1D_Array Checks if a Perl variable is a valid 1D array reference.
TODO PerlOMP_VERIFY_2D_AoA Checks if a Perl variable is a valid 2D array of arrays reference.
TODO PerlOMP_VERIFY_1D_FLOAT_ARRAY Verifies that the 1D array contains only floats.
TODO PerlOMP_VERIFY_1D_INT_ARRAY Verifies that the 1D array contains only integers.
TODO PerlOMP_VERIFY_1D_DOUBLE_ARRAY Verifies that the 1D array contains only doubles.
TODO PerlOMP_VERIFY_1D_CHAR_ARRAY Verifies that the 1D array contains only characters (strings).
TODO PerlOMP_VERIFY_1D_MIXED_ARRAY Verifies that the 1D array contains mixed types (if needed, use type-specific checks).
TODO PerlOMP_VERIFY_2D_FLOAT_ARRAY Verifies that the 2D array of arrays contains only floats.
TODO PerlOMP_VERIFY_2D_INT_ARRAY Verifies that the 2D array of arrays contains only integers.
TODO PerlOMP_VERIFY_2D_DOUBLE_ARRAY Verifies that the 2D array of arrays contains only doubles.
TODO PerlOMP_VERIFY_2D_STRING_ARRAY Verifies that the 2D array of arrays contains only strings.
TODO PerlOMP_VERIFY_2D_MIXED_ARRAY Verifies that the 2D array of arrays contains mixed data types.
Clone this wiki locally