aboutsummaryrefslogtreecommitdiffstats
path: root/tools/checkAPIs.pl
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2012-12-02 05:05:04 +0000
committerJeff Morriss <jeff.morriss.ws@gmail.com>2012-12-02 05:05:04 +0000
commita41c5abab17b7d0ca3a121e30be19e667f5ec6bb (patch)
tree7068ab8d41d7217cea6d498c1c802f71f8e9d3a9 /tools/checkAPIs.pl
parente429065d4e0c830b670bbc6583e2c18766e3ca3a (diff)
Add SET_ADDRESS and SET_ADDRESS_HF to the list of APIs we (may--if we uncomment the code) check for being called with tvb_get_ptr().
svn path=/trunk/; revision=46326
Diffstat (limited to 'tools/checkAPIs.pl')
-rwxr-xr-xtools/checkAPIs.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl
index 5e93f44dc2..e2e24f1f87 100755
--- a/tools/checkAPIs.pl
+++ b/tools/checkAPIs.pl
@@ -1360,6 +1360,8 @@ my @TvbPtrAPIs = (
# Use tvb_bytes_to_str[_punct] instead of:
'bytes_to_str',
'bytes_to_str_punct',
+ 'SET_ADDRESS',
+ 'SET_ADDRESS_HF',
);
sub checkAPIsCalledWithTvbGetPtr($$$)
@@ -1795,7 +1797,7 @@ while ($_ = $ARGV[0])
#checkAPIsCalledWithTvbGetPtr(\@TvbPtrAPIs, \$fileContents, \@foundAPIs);
#if (@foundAPIs) {
- # print STDERR "Found APIs with embedded tvb_get_ptr() calls in ".$filename.": ".join(',', @foundAPIs)."\n"
+ # print STDERR "Found APIs with embedded tvb_get_ptr() calls in ".$filename." : ".join(',', @foundAPIs)."\n"
#}
check_snprintf_plus_strlen(\$fileContents, $filename);