Last change
on this file since 44125 was 15532, checked in by vboxsync, 16 years ago |
crOpenGL: export to OSE
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Id
|
File size:
529 bytes
|
Line | |
---|
1 | # Copyright (c) 2001, Stanford University
|
---|
2 | # All rights reserved.
|
---|
3 | #
|
---|
4 | # See the file LICENSE.txt for information on redistributing this software.
|
---|
5 |
|
---|
6 | import sys,string
|
---|
7 |
|
---|
8 | stub_common.CopyrightC()
|
---|
9 |
|
---|
10 | print "char lowercase[256] = {"
|
---|
11 |
|
---|
12 | NUM_COLS = 8
|
---|
13 |
|
---|
14 | count = 0
|
---|
15 | for num in range(256):
|
---|
16 | if count%NUM_COLS == 0:
|
---|
17 | sys.stdout.write( '\t' )
|
---|
18 | the_char = chr(num);
|
---|
19 | if num != 255:
|
---|
20 | print ("'\%03o'," % ord(string.lower(the_char))),
|
---|
21 | else:
|
---|
22 | print ("'\%03o'" % ord(string.lower(the_char))),
|
---|
23 | count += 1
|
---|
24 | if count%NUM_COLS == 0:
|
---|
25 | print ""
|
---|
26 |
|
---|
27 | print "};"
|
---|
Note:
See
TracBrowser
for help on using the repository browser.