this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update darling stub generator to use up to date copyright header

+4 -3
+4 -3
tools/darling-stub-gen
··· 1 1 #!/usr/bin/env python3 2 2 3 - import sys, os, subprocess, re, getpass 3 + import sys, os, subprocess, re, getpass, datetime 4 4 5 5 # Data 6 6 library = False ··· 20 20 username = getpass.getuser() 21 21 class_dump = "/Users/" + username + "/bin/class-dump" 22 22 23 - copyright = """/* 23 + copyright_template = """/* 24 24 This file is part of Darling. 25 25 26 - Copyright (C) 2019 Lubos Dolezel 26 + Copyright (C) {} Darling Developers 27 27 28 28 Darling is free software: you can redistribute it and/or modify 29 29 it under the terms of the GNU General Public License as published by ··· 40 40 */ 41 41 42 42 """ 43 + copyright = copyright_template.format(datetime.datetime.now(datetime.timezone.utc).year) 43 44 44 45 c_func_impl_stub = """ 45 46 void* %s(void)