Skip to content

Commit

Permalink
switch to passing frcode directly without use of pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewAnnex authored Aug 6, 2023
1 parent 8dc53df commit 403c5fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/spiceypy/spiceypy.py
Original file line number Diff line number Diff line change
Expand Up @@ -15201,7 +15201,7 @@ def tkfram(typid: int) -> Union[Tuple[ndarray, int, bool], Tuple[ndarray, int]]:
next_frame = ctypes.c_int()
found = ctypes.c_int()
libspice.tkfram_c(
ctypes.byref(code), matrix, ctypes.byref(next_frame), ctypes.byref(found)
code, matrix, ctypes.byref(next_frame), ctypes.byref(found)
)
return stypes.c_matrix_to_numpy(matrix), next_frame.value, bool(found.value)

Expand Down
2 changes: 1 addition & 1 deletion src/spiceypy/utils/libspicehelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -2308,7 +2308,7 @@
libspice.timout_c.argtypes = [c_double, c_char_p, c_int, c_char_p]
libspice.tipbod_c.argtypes = [c_char_p, c_int, c_double, (c_double * 3) * 3]
libspice.tisbod_c.argtypes = [c_char_p, c_int, c_double, (c_double * 6) * 6]
libspice.tkfram_c.argtypes = [c_int_p, (c_double * 3) * 3, c_int_p, c_int_p]
libspice.tkfram_c.argtypes = [c_int, (c_double * 3) * 3, c_int_p, c_int_p]
libspice.tkvrsn_c.argtypes = [c_char_p]
libspice.tkvrsn_c.restype = c_char_p
libspice.tparch_c.argtypes = [c_char_p]
Expand Down

0 comments on commit 403c5fc

Please sign in to comment.