Skip to content

Simple example for using Cython / Python / C to call a C swap function from Python. Passing by reference

License

Notifications You must be signed in to change notification settings

harperlangston/cython_examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cython_examples

Simple examples for using Cython / Python / C to call a C functions from Python. Passing by reference.

Examples so far include:

  • swapping two integer values
  • sorting a list of integers

Based off of this "Hello World" example: https://github.com/stavshamir/cython-c-wrapper

To build: cd lib; make; cd -; make

About

Simple example for using Cython / Python / C to call a C swap function from Python. Passing by reference

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published