Commit e8014739 authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

Delimit code after progress_bar example

parent 8d6b8417
......@@ -11,6 +11,10 @@ from . cimport crystfel
def progress_bar(val, total, text):
crystfel.progress_bar(val, total, text.encode())
# --------------------------------------------------------------------------
def inspect_geom_file(path):
cdef crystfel.detector *det
cdef crystfel.beam_params beam
cdef extern from "crystfel/utils.h":
void progress_bar(int val, int total, const char *text)
# --------------------------------------------------------------------------
cdef extern from "crystfel/crystal.h":
ctypedef struct Crystal:
pass # Opaque struct, used through functions
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment