[Python-checkins] CVS: python/dist/src/Objects frameobject.c,2.41,2.42

Fred L. Drake python-dev@python.org
Sat, 8 Jul 2000 22:40:58 -0700


Update of /cvsroot/python/python/dist/src/Objects
In directory slayer.i.sourceforge.net:/tmp/cvs-serv30126
Modified Files:
	frameobject.c 
Log Message:
ANSI-fication of the sources.
Index: frameobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/frameobject.c,v
retrieving revision 2.41
retrieving revision 2.42
diff -C2 -r2.41 -r2.42
*** frameobject.c	2000年06月30日 23:58:05	2.41
--- frameobject.c	2000年07月09日 05:40:56	2.42
***************
*** 37,43 ****
 
 static PyObject *
! frame_getattr(f, name)
! 	PyFrameObject *f;
! 	char *name;
 {
 	if (strcmp(name, "f_locals") == 0)
--- 37,41 ----
 
 static PyObject *
! frame_getattr(PyFrameObject *f, char *name)
 {
 	if (strcmp(name, "f_locals") == 0)
***************
*** 47,54 ****
 
 static int
! frame_setattr(f, name, value)
! 	PyFrameObject *f;
! 	char *name;
! 	PyObject *value;
 {
 	return PyMember_Set((char *)f, frame_memberlist, name, value);
--- 45,49 ----
 
 static int
! frame_setattr(PyFrameObject *f, char *name, PyObject *value)
 {
 	return PyMember_Set((char *)f, frame_memberlist, name, value);
***************
*** 77,82 ****
 
 static void
! frame_dealloc(f)
! 	PyFrameObject *f;
 {
 	int i;
--- 72,76 ----
 
 static void
! frame_dealloc(PyFrameObject *f)
 {
 	int i;
***************
*** 122,130 ****
 
 PyFrameObject *
! PyFrame_New(tstate, code, globals, locals)
! 	PyThreadState *tstate;
! 	PyCodeObject *code;
! 	PyObject *globals;
! 	PyObject *locals;
 {
 	PyFrameObject *back = tstate->frame;
--- 116,121 ----
 
 PyFrameObject *
! PyFrame_New(PyThreadState *tstate, PyCodeObject *code,
! PyObject *globals, PyObject *locals)
 {
 	PyFrameObject *back = tstate->frame;
***************
*** 239,247 ****
 
 void
! PyFrame_BlockSetup(f, type, handler, level)
! 	PyFrameObject *f;
! 	int type;
! 	int handler;
! 	int level;
 {
 	PyTryBlock *b;
--- 230,234 ----
 
 void
! PyFrame_BlockSetup(PyFrameObject *f, int type, int handler, int level)
 {
 	PyTryBlock *b;
***************
*** 255,260 ****
 
 PyTryBlock *
! PyFrame_BlockPop(f)
! 	PyFrameObject *f;
 {
 	PyTryBlock *b;
--- 242,246 ----
 
 PyTryBlock *
! PyFrame_BlockPop(PyFrameObject *f)
 {
 	PyTryBlock *b;
***************
*** 268,273 ****
 
 void
! PyFrame_FastToLocals(f)
! 	PyFrameObject *f;
 {
 	/* Merge fast locals into f->f_locals */
--- 254,258 ----
 
 void
! PyFrame_FastToLocals(PyFrameObject *f)
 {
 	/* Merge fast locals into f->f_locals */
***************
*** 313,319 ****
 
 void
! PyFrame_LocalsToFast(f, clear)
! 	PyFrameObject *f;
! 	int clear;
 {
 	/* Merge f->f_locals into fast locals */
--- 298,302 ----
 
 void
! PyFrame_LocalsToFast(PyFrameObject *f, int clear)
 {
 	/* Merge f->f_locals into fast locals */
***************
*** 350,354 ****
 
 void
! PyFrame_Fini()
 {
 	while (free_list != NULL) {
--- 333,337 ----
 
 void
! PyFrame_Fini(void)
 {
 	while (free_list != NULL) {

AltStyle によって変換されたページ (->オリジナル) /