Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 0a941e2
Showing
9 changed files
with
2,958 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/__init__.py/1.3/Sat Sep 25 06:07:52 2010// | ||
/errmsgs.c/1.10/Sat Jul 4 09:56:56 2009// | ||
/fbcore.py/1.5/Sat Sep 25 07:52:48 2010// | ||
/fberrmsgs.py/1.1/Sat Jul 4 09:56:56 2009// | ||
/msgs.h/1.1/Mon May 4 04:17:11 2009// | ||
/setup.py/1.9/Sat Sep 25 07:50:59 2010// | ||
D |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
firebirdsql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
:ext:nakagami@nakagami.sakura.ne.jp/home/nakagami/.cvsroot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from firebirdsql.fbcore import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/* | ||
* Copyright (c) 2009, Hajime Nakagami<nakagami@da2.so-net.ne.jp> | ||
* All rights reserved. | ||
* Licensed under the New BSD License | ||
* (http://www.freebsd.org/copyright/freebsd-license.html) | ||
* | ||
*/ | ||
#include <stdio.h> | ||
#define SLONG long | ||
#define SCHAR char | ||
|
||
/*http://firebird.cvs.sf.net/viewvc/firebird/firebird2/src/include/gen/msgs.h*/ | ||
#include "msgs.h" | ||
|
||
int main(int argc, char *argv[]) | ||
{ | ||
int i; | ||
FILE *fp = fopen("fberrmsgs.py", "w"); | ||
|
||
fprintf(fp, "\ | ||
#############################################################################\n\ | ||
# The contents of this file are subject to the Interbase Public\n\ | ||
# License Version 1.0 (the \"License\"); you may not use this file\n\ | ||
# except in compliance with the License. You may obtain a copy\n\ | ||
# of the License at http://www.Inprise.com/IPL.html\n\ | ||
# \n\ | ||
# Software distributed under the License is distributed on an\n\ | ||
# \"AS IS\" basis, WITHOUT WARRANTY OF ANY KIND, either express\n\ | ||
# or implied. See the License for the specific language governing\n\ | ||
# rights and limitations under the License.\n\n"); | ||
fprintf(fp, "messages = {\n"); | ||
for (i = 0; messages[i].code_text; i++) { | ||
fprintf(fp, " %d : '''%s\\n''', \n", messages[i].code_number, messages[i].code_text); | ||
} | ||
fprintf(fp, "}\n"); | ||
|
||
fclose(fp); | ||
return 0; | ||
} |
Oops, something went wrong.