mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
enable new license
This commit is contained in:
parent
ecda56d02b
commit
11f62e3ee5
@ -18,34 +18,34 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
char *cxx_style =
|
const char *cxx_style =
|
||||||
"// Filename: %s\n"
|
"// Filename: %s\n"
|
||||||
"// Created by: %s (%s)\n"
|
"// Created by: %s (%s)\n"
|
||||||
"//\n"
|
"//\n"
|
||||||
"////////////////////////////////////////////////////////////////////\n"
|
"////////////////////////////////////////////////////////////////////\n"
|
||||||
"//\n"
|
"//\n"
|
||||||
// PANDA 3D SOFTWARE
|
"// PANDA 3D SOFTWARE\n"
|
||||||
// Copyright (c) Carnegie Mellon University. All rights reserved.
|
"// Copyright (c) Carnegie Mellon University. All rights reserved.\n"
|
||||||
//
|
"//\n"
|
||||||
// All use of this software is subject to the terms of the revised BSD
|
"// All use of this software is subject to the terms of the revised BSD\n"
|
||||||
// license. You should have received a copy of this license along
|
"// license. You should have received a copy of this license along\n"
|
||||||
// with this source code in a file named "LICENSE."
|
"// with this source code in a file named \"LICENSE.\"\n"
|
||||||
"//\n"
|
"//\n"
|
||||||
"////////////////////////////////////////////////////////////////////\n"
|
"////////////////////////////////////////////////////////////////////\n"
|
||||||
"\n";
|
"\n";
|
||||||
|
|
||||||
char *c_style =
|
const char *c_style =
|
||||||
"/* Filename: %s\n"
|
"/* Filename: %s\n"
|
||||||
" * Created by: %s (%s)\n"
|
" * Created by: %s (%s)\n"
|
||||||
" *\n"
|
" *\n"
|
||||||
" * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n"
|
" * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n"
|
||||||
" *\n"
|
" *\n"
|
||||||
// PANDA 3D SOFTWARE
|
" * PANDA 3D SOFTWARE\n"
|
||||||
// Copyright (c) Carnegie Mellon University. All rights reserved.
|
" * Copyright (c) Carnegie Mellon University. All rights reserved.\n"
|
||||||
//
|
" *\n"
|
||||||
// All use of this software is subject to the terms of the revised BSD
|
" * All use of this software is subject to the terms of the revised BSD\n"
|
||||||
// license. You should have received a copy of this license along
|
" * license. You should have received a copy of this license along\n"
|
||||||
// with this source code in a file named "LICENSE."
|
" * with this source code in a file named \"LICENSE.\"\n"
|
||||||
" *\n"
|
" *\n"
|
||||||
" * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n"
|
" * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n"
|
||||||
"\n";
|
"\n";
|
||||||
@ -66,7 +66,7 @@ FileDef file_def[] = {
|
|||||||
|
|
||||||
void
|
void
|
||||||
generate_header(const char *header, const string &filename) {
|
generate_header(const char *header, const string &filename) {
|
||||||
char *username = getenv("USER");
|
const char *username = getenv("USER");
|
||||||
if (username == NULL) {
|
if (username == NULL) {
|
||||||
username = "";
|
username = "";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user