[Stackless-checkins] CVS: slpdev/src/2.2/src/PC .cvsignore, NONE, 1.1 make_versioninfo.c, NONE, 1.1
Christian Tismer
tismer at centera.de
Sat May 1 02:54:45 CEST 2004
- Previous message: [Stackless-checkins] CVS: slpdev/src/2.2/src/Objects boolobject.c, NONE, 1.1 dictnotes.txt, NONE, 1.1 enumobject.c, NONE, 1.1 listsort.txt, NONE, 1.1 setobject.c, NONE, 1.1
- Next message: [Stackless-checkins] CVS: slpdev/src/2.2/src/PC/VC6 .cvsignore, NONE, 1.1 _bsddb.dsp, NONE, 1.1 _socket.dsp, NONE, 1.1 _ssl.dsp, NONE, 1.1 _ssl.mak, NONE, 1.1 _testcapi.dsp, NONE, 1.1 _tkinter.dsp, NONE, 1.1 build_ssl.py, NONE, 1.1 bz2.dsp, NONE, 1.1 make_versioninfo.dsp, NONE, 1.1 pcbuild.dsw, NONE, 1.1 pyexpat.dsp, NONE, 1.1 python.dsp, NONE, 1.1 pythoncore.dsp, NONE, 1.1 pythonw.dsp, NONE, 1.1 readme.txt, NONE, 1.1 rmpyc.py, NONE, 1.1 rt.bat, NONE, 1.1 select.dsp, NONE, 1.1 unicodedata.dsp, NONE, 1.1 w9xpopen.dsp, NONE, 1.1 winsound.dsp, NONE, 1.1 zlib.dsp, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/slpdev/src/2.2/src/PC
In directory centera.de:/home/tismer/slpdev/src/2.2/src/PC
Added Files:
.cvsignore make_versioninfo.c
Log Message:
added files
--- NEW FILE: .cvsignore ---
pythonnt_rc.h
pythonnt_rc_d.h
--- NEW FILE: make_versioninfo.c ---
#include <stdio.h>
#include "patchlevel.h"
/*
* This program prints out an include file containing fields required to build
* the version info resource of pythonxx.dll because the resource compiler
* cannot do the arithmetic.
*/
/*
* FIELD3 is the third field of the version number.
* This is what we'd like FIELD3 to be:
*
* #define FIELD3 (PY_MICRO_VERSION*1000 + PY_RELEASE_LEVEL*10 + PY_RELEASE_SERIAL)
*
* but that neither gives an error nor comes anywhere close to working.
*
* For 2.4a0,
* PY_MICRO_VERSION = 0
* PY_RELEASE_LEVEL = 'alpha' = 0xa
* PY_RELEASE_SERIAL = 0
*
* gives FIELD3 = 0*1000 + 10*10 + 0 = 100
*/
int main(int argc, char **argv)
{
printf("/* This file created by make_versioninfo.exe */\n");
printf("#define FIELD3 %d\n",
PY_MICRO_VERSION*1000 + PY_RELEASE_LEVEL*10 + PY_RELEASE_SERIAL);
printf("#define MS_DLL_ID \"%d.%d\"\n",
PY_MAJOR_VERSION, PY_MINOR_VERSION);
printf("#define PYTHON_DLL_NAME \"python%d%d.dll\"\n",
PY_MAJOR_VERSION, PY_MINOR_VERSION);
return 0;
}
_______________________________________________
Stackless-checkins mailing list
Stackless-checkins at stackless.com
http://www.stackless.com/mailman/listinfo/stackless-checkins
- Previous message: [Stackless-checkins] CVS: slpdev/src/2.2/src/Objects boolobject.c, NONE, 1.1 dictnotes.txt, NONE, 1.1 enumobject.c, NONE, 1.1 listsort.txt, NONE, 1.1 setobject.c, NONE, 1.1
- Next message: [Stackless-checkins] CVS: slpdev/src/2.2/src/PC/VC6 .cvsignore, NONE, 1.1 _bsddb.dsp, NONE, 1.1 _socket.dsp, NONE, 1.1 _ssl.dsp, NONE, 1.1 _ssl.mak, NONE, 1.1 _testcapi.dsp, NONE, 1.1 _tkinter.dsp, NONE, 1.1 build_ssl.py, NONE, 1.1 bz2.dsp, NONE, 1.1 make_versioninfo.dsp, NONE, 1.1 pcbuild.dsw, NONE, 1.1 pyexpat.dsp, NONE, 1.1 python.dsp, NONE, 1.1 pythoncore.dsp, NONE, 1.1 pythonw.dsp, NONE, 1.1 readme.txt, NONE, 1.1 rmpyc.py, NONE, 1.1 rt.bat, NONE, 1.1 select.dsp, NONE, 1.1 unicodedata.dsp, NONE, 1.1 w9xpopen.dsp, NONE, 1.1 winsound.dsp, NONE, 1.1 zlib.dsp, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Stackless-checkins
mailing list