summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXXStubs.c
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2016-11-08 12:27:25 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2016-11-08 12:27:25 (GMT)
commit88e413ba86eb25275fcd47b1886022b2d74b5e37 (patch)
tree88b5af1ccad5aec8962026c04d8f2301de3a3411 /macosx/tkMacOSXXStubs.c
parentf3976ba0f67cd4320e02039b9bc3fcdab0bbcc83 (diff)
parentb686d946455e3f361706231cf443cef13572eef1 (diff)
downloadtk-88e413ba86eb25275fcd47b1886022b2d74b5e37.zip
tk-88e413ba86eb25275fcd47b1886022b2d74b5e37.tar.gz
tk-88e413ba86eb25275fcd47b1886022b2d74b5e37.tar.bz2
(micro-) optimize a few Win32 drawing functions, and make them work when npoints=0
FossilOrigin-Name: 159164e2086ea908dd91bb86cbf81f1bd9dc0902
Diffstat (limited to 'macosx/tkMacOSXXStubs.c')
-rw-r--r--macosx/tkMacOSXXStubs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXXStubs.c b/macosx/tkMacOSXXStubs.c
index 1ed526d..8d9820b 100644
--- a/macosx/tkMacOSXXStubs.c
+++ b/macosx/tkMacOSXXStubs.c
@@ -528,7 +528,7 @@ XClearWindow(
}
/*
-void
+int
XDrawPoint(
Display* display,
Drawable d,
@@ -538,7 +538,7 @@ XDrawPoint(
{
}
-void
+int
XDrawPoints(
Display* display,
Drawable d,