REDROOM
PHP 7.4.33
Path:
Logout
Edit File
Size: 822 B
Close
//lib64/python2.7/Demo/embed/README
Text
Base64
This directory show how to embed the Python interpreter in your own application. The file demo.c shows you all that is needed in your C code. To build it, you may have to edit the Makefile: 1) set blddir to the directory where you built Python, if it isn't in the source directory (../..) 2) change the variables that together define the list of libraries (MODLIBS, LIBS, SYSLIBS) to link with, to match their definitions in $(blddir)/Modules/Makefile An additional test program, loop.c, is used to experiment with memory leakage caused by repeated initialization and finalization of the interpreter. It can be build by saying "make loop" and tested with "make looptest". Command line usage is "./loop <python-command>", e.g. "./loop 'print 2+2'" should spit out an endless number of lines containing the number 4.
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 5
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
demo.c
2.13 KB
lrw-r--r--
2020-04-19 21:13:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
importexc.c
255 B
lrw-r--r--
2020-04-19 21:13:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
loop.c
740 B
lrw-r--r--
2020-04-19 21:13:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Makefile
1.13 KB
lrw-r--r--
2020-04-19 21:13:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
README
822 B
lrw-r--r--
2020-04-19 21:13:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).