move legacy C-API constants into separate files

This commit is contained in:
Alexander Alekhin
2018-11-17 10:59:23 +00:00
parent 22dbcf98c5
commit a574788e89
22 changed files with 544 additions and 501 deletions
+1 -1
View File
@@ -1182,7 +1182,7 @@ if __name__ == "__main__":
with open(srcfiles_fname) as f:
srcfiles = [os.path.join(module_location, str(l).strip()) for l in f.readlines() if str(l).strip()]
else:
re_bad = re.compile(r'(private|.inl.hpp$|_inl.hpp$|.details.hpp$|_winrt.hpp$|/cuda/)')
re_bad = re.compile(r'(private|.inl.hpp$|_inl.hpp$|.details.hpp$|_winrt.hpp$|/cuda/|/legacy/)')
# .h files before .hpp
h_files = []
hpp_files = []