From: Robert Bradshaw Date: Tue, 1 Mar 2011 08:03:40 +0000 (-0800) Subject: Documentation cleanup. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f234571cf1df5b885dddc86826abb72f81ac1a5f;p=cython.git Documentation cleanup. --- diff --git a/Demos/callback/cheese.pyx b/Demos/callback/cheese.pyx index db0fc082..69e7d20d 100644 --- a/Demos/callback/cheese.pyx +++ b/Demos/callback/cheese.pyx @@ -1,5 +1,5 @@ # -# Pyrex wrapper for the cheesefinder API +# Cython wrapper for the cheesefinder API # cdef extern from "cheesefinder.h": diff --git a/Demos/embed/Makefile.msc.static b/Demos/embed/Makefile.msc.static index 14e1080c..2d385840 100644 --- a/Demos/embed/Makefile.msc.static +++ b/Demos/embed/Makefile.msc.static @@ -1 +1 @@ -# Makefile for Microsoft compiler statically linking PYVERSION = 2.2 PYHOME = \Python$(PYVERSION:.=) PYINCLUDE = -I$(PYHOME)\include PYLIB = /LIBPATH:$(PYHOME)\libs python22.lib CFLAGS = $(PYINCLUDE) /Ox /W3 /GX -nologo .SUFFIXES: .exe .dll .obj .c .cpp .pyx .pyx.c: $(PYHOME)\Python.exe ../../pyrexc.py $< all: main.exe clean: -del /Q/F *.obj embedded.h embedded.c main.exe main.exe: main.obj embedded.obj link /nologo $** $(PYLIB) /OUT:main.exe embedded.h: embedded.c main.obj: embedded.h \ No newline at end of file +# Makefile for Microsoft compiler statically linking PYVERSION = 2.2 PYHOME = \Python$(PYVERSION:.=) PYINCLUDE = -I$(PYHOME)\include PYLIB = /LIBPATH:$(PYHOME)\libs python22.lib CFLAGS = $(PYINCLUDE) /Ox /W3 /GX -nologo .SUFFIXES: .exe .dll .obj .c .cpp .pyx .pyx.c: $(PYHOME)\Python.exe ../../cython.py $< all: main.exe clean: -del /Q/F *.obj embedded.h embedded.c main.exe main.exe: main.obj embedded.obj link /nologo $** $(PYLIB) /OUT:main.exe embedded.h: embedded.c main.obj: embedded.h \ No newline at end of file diff --git a/Demos/embed/README b/Demos/embed/README index 55283ac3..9a16c8ed 100644 --- a/Demos/embed/README +++ b/Demos/embed/README @@ -1 +1,5 @@ -This example demonstrates how Pyrex-generated code can be called directly from a main program written in C. In this example, the module's initialisation function (called "initembedded", since the module is called "embedded") is called explicitly. This is necessary because the module is not being imported using the normal Python import mechanism. The Windows makefiles were contributed by Duncan Booth . \ No newline at end of file +This example demonstrates how Cython-generated code +can be called directly from a main program written in C. + +The Windows makefiles were contributed by +Duncan Booth .