Skip to content

Tracker: Additional C functions and macros to implement

OODLER edited this page Mar 5, 2025 · 23 revisions
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.
✅ DONE PerlOMP_2D_AoA_TO_2D_STRING_ARRAY Converts a 2D Perl array of arrays to a 2D C array of strings.
✅ DONE 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
✅ DONE PerlOMP_VERIFY_1D_Array Checks if a Perl variable is a valid 1D array reference.
✅ DONE PerlOMP_VERIFY_2D_AoA Checks if a Perl variable is a valid 2D array of arrays reference.
✅ DONE PerlOMP_VERIFY_1D_FLOAT_ARRAY Verifies that the 1D array contains only floats.
✅ DONE PerlOMP_VERIFY_1D_INT_ARRAY Verifies that the 1D array contains only integers.
✅ DONE PerlOMP_VERIFY_1D_DOUBLE_ARRAY Verifies that the 1D array contains only doubles.
✅ DONE PerlOMP_VERIFY_1D_CHAR_ARRAY Verifies that the 1D array contains only characters (strings).
✅ DONE PerlOMP_VERIFY_1D_MIXED_ARRAY Verifies that the 1D array contains mixed types (if needed, use type-specific checks).
✅ DONE PerlOMP_VERIFY_2D_FLOAT_ARRAY Verifies that the 2D array of arrays contains only floats.
✅ DONE PerlOMP_VERIFY_2D_INT_ARRAY Verifies that the 2D array of arrays contains only integers.
✅ DONE PerlOMP_VERIFY_2D_DOUBLE_ARRAY Verifies that the 2D array of arrays contains only doubles.
✅ DONE PerlOMP_VERIFY_2D_STRING_ARRAY Verifies that the 2D array of arrays contains only strings.
✅ DONE PerlOMP_VERIFY_2D_MIXED_ARRAY Verifies that the 2D array of arrays contains mixed data types.
Clone this wiki locally