Skip to content

Commit

Permalink
added get_tuple and attr_tuple to interface
Browse files Browse the repository at this point in the history
  • Loading branch information
dbousque committed Mar 13, 2017
1 parent c5434ec commit c92d5bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions srcs/lymp.mli
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ val get_float : pycallable -> string -> pyobj list -> float
val get_bool : pycallable -> string -> pyobj list -> bool
val get_bytes : pycallable -> string -> pyobj list -> bytes
val get_ref : pycallable -> string -> pyobj list -> pycallable
val get_tuple : pycallable -> string -> pyobj list -> pyobj list
val get_list : pycallable -> string -> pyobj list -> pyobj list

(* get attributes of modules and objects *)
Expand All @@ -49,6 +50,7 @@ val attr_float : pycallable -> string -> float
val attr_bool : pycallable -> string -> bool
val attr_bytes : pycallable -> string -> bytes
val attr_ref : pycallable -> string -> pycallable
val attr_tuple : pycallable -> string -> pyobj list
val attr_list : pycallable -> string -> pyobj list

val set_attr : pycallable -> string -> pyobj -> unit
Expand Down

0 comments on commit c92d5bb

Please sign in to comment.