[Python-checkins] CVS: python/dist/src/Mac/Modules hfsplusmodule.c,NONE,1.1

Jack Jansen jackjansen@users.sourceforge.net
2001年11月06日 03:10:16 -0800


Update of /cvsroot/python/python/dist/src/Mac/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv28821/python/Mac/Modules
Added Files:
	hfsplusmodule.c 
Log Message:
HFS+ API contributed by Nitin Ganatra. This checkin is identical to what he sent me, except for the namechange (fmgr->hfsplus).
--- NEW FILE: hfsplusmodule.c ---
/*
 $Log: hfsplusmodule.c,v $
 Revision 1.1 2001年11月06日 11:10:13 jackjansen
 HFS+ API contributed by Nitin Ganatra. This checkin is identical to what he sent me, except for the namechange (fmgr->hfsplus).
 Revision 1.8 2001年10月03日 17:29:01 ganatra
 add parent method to FSRef class
 Revision 1.7 2001年04月13日 20:54:19 ganatra
 More standard format for MacOSError exceptions
 Revision 1.6 2001年04月11日 04:07:40 ganatra
 Add permissions constants and log header..
*/
#include <CoreServices/CoreServices.h>
#include "Python.h"
[...1508 lines suppressed...]
}
//__________________________________________________________________________________________________
static
PyObject *obj_to_hfsunistr(PyObject *in, HFSUniStr255 *uni)
{
	PyObject *out;
	out = PyUnicode_FromObject(in);
	if (out == NULL)
		return NULL;
	BlockMoveData(PyUnicode_AS_UNICODE(out), uni->unicode, PyUnicode_GET_DATA_SIZE(out));
	uni->length = PyUnicode_GET_SIZE(out);
	return out;
}

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