mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-04 02:06:18 +01:00
gdbus-codegen: Include a blurb about the license of the generated code
More precisely, include this line The license of this code is the same as for the source it was derived from. Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
parent
5f31671da0
commit
98e6d4b0a9
@ -52,6 +52,8 @@ class CodeGenerator:
|
||||
def generate_intro(self):
|
||||
self.c.write('/*\n'
|
||||
' * Generated by gdbus-codegen %s. DO NOT EDIT.\n'
|
||||
' *\n'
|
||||
' * The license of this code is the same as for the source it was derived from.\n'
|
||||
' */\n'
|
||||
'\n'
|
||||
%(config.VERSION))
|
||||
@ -191,6 +193,8 @@ class CodeGenerator:
|
||||
|
||||
self.h.write('/*\n'
|
||||
' * Generated by gdbus-codegen %s. DO NOT EDIT.\n'
|
||||
' *\n'
|
||||
' * The license of this code is the same as for the source it was derived from.\n'
|
||||
' */\n'
|
||||
'\n'
|
||||
'#ifndef __%s__\n'
|
||||
|
Loading…
Reference in New Issue
Block a user