Skip to content

Commit

Permalink
Exclude functions taking no arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
astralia authored and trufae committed Oct 24, 2024
1 parent 283e1ef commit bd9389a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/lint-assert.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
git grep -C1 R_API libr | awk '/R_API/ && !/NULL/ {getline nextLine; if (nextLine !~ /R_RETURN/) print $0}' | grep 'c:'
git grep -C1 R_API libr | awk '/R_API/ && !/NULL/ && !/(void)/ {getline nextLine; if (nextLine !~ /R_RETURN/) print $0}' | grep 'c:'

0 comments on commit bd9389a

Please sign in to comment.