Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes are not valid. You need to spend more time studying our codebase. The necessary change is a trivial comment to suppress a lint error. You can find numerous examples in other packages.

Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,10 @@
#include "stdlib/math/base/special/signum.h"
#include "stdlib/math/base/napi/unary.h"

STDLIB_MATH_BASE_NAPI_MODULE_D_D( stdlib_base_signum )
// Wrapper function that calls the actual implementation
static double signum_callback( const double x ) {
return stdlib_base_signum( x );
}

// Export the wrapper with a unique symbol name to avoid shadowing
STDLIB_MATH_BASE_NAPI_MODULE_D_D( signum_module, signum_callback )
Loading