[Python-checkins] python/dist/src/Mac/Modules/fm _Fmmodule.c,1.6,1.7

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Fri, 16 Aug 2002 02:09:58 -0700


Update of /cvsroot/python/python/dist/src/Mac/Modules/fm
In directory usw-pr-cvs1:/tmp/cvs-serv18405/fm

Modified Files:
	_Fmmodule.c 
Log Message:
Regenerated with PyDoc_STR() around docstrings.


Index: _Fmmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/fm/_Fmmodule.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** _Fmmodule.c	24 Mar 2002 23:03:30 -0000	1.6
--- _Fmmodule.c	16 Aug 2002 09:09:26 -0000	1.7
***************
*** 370,415 ****
  #if !TARGET_API_MAC_CARBON
  	{"InitFonts", (PyCFunction)Fm_InitFonts, 1,
! 	 "() -> None"},
  #endif
  	{"GetFontName", (PyCFunction)Fm_GetFontName, 1,
! 	 "(short familyID) -> (Str255 name)"},
  	{"GetFNum", (PyCFunction)Fm_GetFNum, 1,
! 	 "(Str255 name) -> (short familyID)"},
  	{"RealFont", (PyCFunction)Fm_RealFont, 1,
! 	 "(short fontNum, short size) -> (Boolean _rv)"},
  
  #if !TARGET_API_MAC_CARBON
  	{"SetFontLock", (PyCFunction)Fm_SetFontLock, 1,
! 	 "(Boolean lockFlag) -> None"},
  #endif
  	{"SetFScaleDisable", (PyCFunction)Fm_SetFScaleDisable, 1,
! 	 "(Boolean fscaleDisable) -> None"},
  	{"FontMetrics", (PyCFunction)Fm_FontMetrics, 1,
! 	 "() -> (FMetricRec theMetrics)"},
  	{"SetFractEnable", (PyCFunction)Fm_SetFractEnable, 1,
! 	 "(Boolean fractEnable) -> None"},
  	{"GetDefFontSize", (PyCFunction)Fm_GetDefFontSize, 1,
! 	 "() -> (short _rv)"},
  	{"IsOutline", (PyCFunction)Fm_IsOutline, 1,
! 	 "(Point numer, Point denom) -> (Boolean _rv)"},
  	{"SetOutlinePreferred", (PyCFunction)Fm_SetOutlinePreferred, 1,
! 	 "(Boolean outlinePreferred) -> None"},
  	{"GetOutlinePreferred", (PyCFunction)Fm_GetOutlinePreferred, 1,
! 	 "() -> (Boolean _rv)"},
  	{"SetPreserveGlyph", (PyCFunction)Fm_SetPreserveGlyph, 1,
! 	 "(Boolean preserveGlyph) -> None"},
  	{"GetPreserveGlyph", (PyCFunction)Fm_GetPreserveGlyph, 1,
! 	 "() -> (Boolean _rv)"},
  
  #if !TARGET_API_MAC_CARBON
  	{"FlushFonts", (PyCFunction)Fm_FlushFonts, 1,
! 	 "() -> None"},
  #endif
  	{"GetSysFont", (PyCFunction)Fm_GetSysFont, 1,
! 	 "() -> (short _rv)"},
  	{"GetAppFont", (PyCFunction)Fm_GetAppFont, 1,
! 	 "() -> (short _rv)"},
  	{"QDTextBounds", (PyCFunction)Fm_QDTextBounds, 1,
! 	 "(Buffer inText) -> (Rect bounds)"},
  	{NULL, NULL, 0}
  };
--- 370,415 ----
  #if !TARGET_API_MAC_CARBON
  	{"InitFonts", (PyCFunction)Fm_InitFonts, 1,
! 	 PyDoc_STR("() -> None")},
  #endif
  	{"GetFontName", (PyCFunction)Fm_GetFontName, 1,
! 	 PyDoc_STR("(short familyID) -> (Str255 name)")},
  	{"GetFNum", (PyCFunction)Fm_GetFNum, 1,
! 	 PyDoc_STR("(Str255 name) -> (short familyID)")},
  	{"RealFont", (PyCFunction)Fm_RealFont, 1,
! 	 PyDoc_STR("(short fontNum, short size) -> (Boolean _rv)")},
  
  #if !TARGET_API_MAC_CARBON
  	{"SetFontLock", (PyCFunction)Fm_SetFontLock, 1,
! 	 PyDoc_STR("(Boolean lockFlag) -> None")},
  #endif
  	{"SetFScaleDisable", (PyCFunction)Fm_SetFScaleDisable, 1,
! 	 PyDoc_STR("(Boolean fscaleDisable) -> None")},
  	{"FontMetrics", (PyCFunction)Fm_FontMetrics, 1,
! 	 PyDoc_STR("() -> (FMetricRec theMetrics)")},
  	{"SetFractEnable", (PyCFunction)Fm_SetFractEnable, 1,
! 	 PyDoc_STR("(Boolean fractEnable) -> None")},
  	{"GetDefFontSize", (PyCFunction)Fm_GetDefFontSize, 1,
! 	 PyDoc_STR("() -> (short _rv)")},
  	{"IsOutline", (PyCFunction)Fm_IsOutline, 1,
! 	 PyDoc_STR("(Point numer, Point denom) -> (Boolean _rv)")},
  	{"SetOutlinePreferred", (PyCFunction)Fm_SetOutlinePreferred, 1,
! 	 PyDoc_STR("(Boolean outlinePreferred) -> None")},
  	{"GetOutlinePreferred", (PyCFunction)Fm_GetOutlinePreferred, 1,
! 	 PyDoc_STR("() -> (Boolean _rv)")},
  	{"SetPreserveGlyph", (PyCFunction)Fm_SetPreserveGlyph, 1,
! 	 PyDoc_STR("(Boolean preserveGlyph) -> None")},
  	{"GetPreserveGlyph", (PyCFunction)Fm_GetPreserveGlyph, 1,
! 	 PyDoc_STR("() -> (Boolean _rv)")},
  
  #if !TARGET_API_MAC_CARBON
  	{"FlushFonts", (PyCFunction)Fm_FlushFonts, 1,
! 	 PyDoc_STR("() -> None")},
  #endif
  	{"GetSysFont", (PyCFunction)Fm_GetSysFont, 1,
! 	 PyDoc_STR("() -> (short _rv)")},
  	{"GetAppFont", (PyCFunction)Fm_GetAppFont, 1,
! 	 PyDoc_STR("() -> (short _rv)")},
  	{"QDTextBounds", (PyCFunction)Fm_QDTextBounds, 1,
! 	 PyDoc_STR("(Buffer inText) -> (Rect bounds)")},
  	{NULL, NULL, 0}
  };