Skip to content

Commit

Permalink
Commenting arg/restype for debugging function.
Browse files Browse the repository at this point in the history
Is it not needed to run ObsPy and only useful for debugging.
  • Loading branch information
krischer committed Jan 10, 2014
1 parent 70d5da5 commit f62a031
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions obspy/signal/evrespwrapper.py
Expand Up @@ -221,9 +221,11 @@ class channel(C.Structure):
clibevresp.norm_resp.restype = C.c_void_p


# Only useful for debugging thus not officially included as every import of
# this file results in the function pointer being created thus slowing it down.
# void print_chan(struct channel *chan, int start_stage, int stop_stage,
# int stdio_flag, int listinterp_out_flag,
# int listinterp_in_flag, int useTotalSensitivityFlag)
clibevresp.print_chan.argtypes = [C.POINTER(channel), C.c_int, C.c_int,
C.c_int, C.c_int, C.c_int, C.c_int]
clibevresp.print_chan.restype = C.c_void_p
#clibevresp.print_chan.argtypes = [C.POINTER(channel), C.c_int, C.c_int,
#C.c_int, C.c_int, C.c_int, C.c_int]
#clibevresp.print_chan.restype = C.c_void_p

0 comments on commit f62a031

Please sign in to comment.