You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The api/random.h header file defines a REFERENCE_PARAM macro to define some function parameters as either C pointers or XC references. In this way, the repository sets itself up to support a C API.
However, the only implementation of that API resides in the src/random.xc file. This file explicitly uses XC references in its function signatures. In addition, due to the .xc extension on the source file, the xcc compiler assumes that it contains XC unless overridden by the -x option.
To provide a proper C API, this repository needs an random.c file containing a pure C implementation.
The text was updated successfully, but these errors were encountered:
The api/random.h header file defines a REFERENCE_PARAM macro to define some function parameters as either C pointers or XC references. In this way, the repository sets itself up to support a C API.
However, the only implementation of that API resides in the src/random.xc file. This file explicitly uses XC references in its function signatures. In addition, due to the .xc extension on the source file, the xcc compiler assumes that it contains XC unless overridden by the -x option.
To provide a proper C API, this repository needs an random.c file containing a pure C implementation.
The text was updated successfully, but these errors were encountered: