Skip to content

Commit 80d8599

Browse files
committed
Fix misspellings
1 parent 54c8132 commit 80d8599

15 files changed

+24
-24
lines changed

lib/Arg_info.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ val cast_to_baseinfo : t structure ptr -> Base_info.t structure ptr
8080
(** Just cast OCaml Ctypes arg info to base info *)
8181

8282
val add_unref_finaliser : t structure ptr -> t structure ptr
83-
(** Add unref of the C underlying structure whith Gc.finalise. *)
83+
(** Add unref of the C underlying structure with Gc.finalise. *)
8484

8585
val from_baseinfo : Base_info.t structure ptr -> t structure ptr
8686
(** Return a Arg_info.t from a Base_info.t, the underlying C structure

lib/Callable_info.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ val cast_to_baseinfo : t structure ptr -> Base_info.t structure ptr
7676
(** Just cast OCaml Ctypes callable info to base info *)
7777

7878
val add_unref_finaliser : t structure ptr -> t structure ptr
79-
(** Add unref of the C underlying structure whith Gc.finalise. *)
79+
(** Add unref of the C underlying structure with Gc.finalise. *)
8080

8181
val from_baseinfo : Base_info.t structure ptr -> t structure ptr
8282
(** Return a Function_info.t from a Base_info.t, the underlying C structure

lib/Constant_info.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ val cast_to_baseinfo : t structure ptr -> Base_info.t structure ptr
3737
(** Just cast OCaml Ctypes constant info to base info *)
3838

3939
val add_unref_finaliser : t structure ptr -> t structure ptr
40-
(** Add unref of the C underlying structure whith Gc.finalise. *)
40+
(** Add unref of the C underlying structure with Gc.finalise. *)
4141

4242
val from_baseinfo : Base_info.t structure ptr -> t structure ptr
4343
(** Return a Constant_info.t from a Base_info.t, the underlying C structure

lib/Field_info.mli

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ type t
2727
Struct_info.get_field,
2828
Union_info.get_field
2929
or Object_info.get_field. A field has a size, type and a struct offset
30-
asssociated and a set of flags, which is currently
30+
associated and a set of flags, which is currently
3131
GI_FIELD_IS_READABLE or GI_FIELD_IS_WRITABLE.*)
3232

3333
val fieldinfo : t structure typ
@@ -59,7 +59,7 @@ val cast_to_baseinfo : t structure ptr -> Base_info.t structure ptr
5959
(** Just cast OCaml Ctypes field info to base info *)
6060

6161
val add_unref_finaliser : t structure ptr -> t structure ptr
62-
(** Add unref of the C underlying structure whith Gc.finalise. *)
62+
(** Add unref of the C underlying structure with Gc.finalise. *)
6363

6464
val from_baseinfo : Base_info.t structure ptr -> t structure ptr
6565
(** Return a Field_info.t from a Base_info.t, the underlying C structure

lib/Function_info.mli

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ type t
2424
(** Function_info represents a function, method or constructor. To find out
2525
what kind of entity a Function_info represents, call
2626
Function_info.get_flags.
27-
See also Callable_info for information on how to retreive arguments and
27+
See also Callable_info for information on how to retrieve arguments and
2828
other metadata. *)
2929

3030
val functioninfo : t structure typ
@@ -46,7 +46,7 @@ val get_vfunc : t structure ptr -> Callable_info.t structure ptr option
4646
Function_info with the flag Wraps_vfunc has a virtual function set. For
4747
other cases, None will be returned.
4848
In order to avoid circular call graph between Function_info and VFunc_info,
49-
this function will return a Callable_info. It is upto the user to use
49+
this function will return a Callable_info. It is up to the user to use
5050
VFunc_info.from_callableinfo in order to have the VFunc_info.*)
5151

5252
(*
@@ -61,7 +61,7 @@ val cast_to_baseinfo : t structure ptr -> Base_info.t structure ptr
6161
(** Just cast OCaml Ctypes function info to base info *)
6262

6363
val add_unref_finaliser : t structure ptr -> t structure ptr
64-
(** Add unref of the C underlying structure whith Gc.finalise. *)
64+
(** Add unref of the C underlying structure with Gc.finalise. *)
6565

6666
val from_baseinfo : Base_info.t structure ptr -> t structure ptr
6767
(** Return a Function_info.t from a Base_info.t, the underlying C structure

lib/Interface_info.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ val cast_to_baseinfo : t structure ptr -> Base_info.t structure ptr
8888
(** Just cast OCaml Ctypes interface info to base info *)
8989

9090
val add_unref_finaliser : t structure ptr -> t structure ptr
91-
(** Add unref of the C underlying structure whith Gc.finalise. *)
91+
(** Add unref of the C underlying structure with Gc.finalise. *)
9292

9393
val from_baseinfo : Base_info.t structure ptr -> t structure ptr
9494
(** Return a Interface_info.t from a Base_info.t, the underlying C structure

lib/Property_info.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ val cast_to_baseinfo : t structure ptr -> Base_info.t structure ptr
4444
(** Just cast OCaml Ctypes property info to base info *)
4545

4646
val add_unref_finaliser : t structure ptr -> t structure ptr
47-
(** Add unref of the C underlying structure whith Gc.finalise. *)
47+
(** Add unref of the C underlying structure with Gc.finalise. *)
4848

4949
val from_baseinfo : Base_info.t structure ptr -> t structure ptr
5050
(** Return a Property_info.t from a Base_info.t, the underlying C structure

lib/Registered_type_info.mli

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ val get_g_type : t structure ptr -> Repository.gtype option
4545
val get_type_init : t structure ptr -> string option
4646
(** Obtain the type init function for info . The type init function is the
4747
function which will register the GType within the GObject type system.
48-
Usually this is not called by langauge bindings or applications, use
48+
Usually this is not called by language bindings or applications, use
4949
Registered_type_info.get_g_type directly instead. *)
5050

5151
val cast_from_baseinfo : Base_info.t structure ptr -> t structure ptr
@@ -55,7 +55,7 @@ val cast_to_baseinfo : t structure ptr -> Base_info.t structure ptr
5555
(** Just cast OCaml Ctypes registeredtype info to base info *)
5656

5757
val add_unref_finaliser : t structure ptr -> t structure ptr
58-
(** Add unref of the C underlying structure whith Gc.finalise. *)
58+
(** Add unref of the C underlying structure with Gc.finalise. *)
5959

6060
val from_baseinfo : Base_info.t structure ptr -> t structure ptr
6161
(** Return a Registered_type_info.t from a Base_info.t, the underlying C structure

lib/Signal_info.mli

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ open Ctypes
2323
type t
2424
(** Signal_info represents a signal. It's a sub-struct of Callable_info and
2525
contains a set of flags and a class closure.
26-
See Callable_info for information on how to retreive arguments and other
26+
See Callable_info for information on how to retrieve arguments and other
2727
metadata from the signal. *)
2828

2929
val signalinfo : t structure typ
@@ -41,7 +41,7 @@ val get_class_closure : t structure ptr -> Callable_info.t structure ptr option
4141
is a virtual function on the type that the signal belongs to. If the signal
4242
lacks a closure None will be returned.
4343
In order to avoid circular call graph between Signal_info and VFunc_info,
44-
this function will return a Callable_info. It is upto the user to use
44+
this function will return a Callable_info. It is up to the user to use
4545
GIVSignalInfo.from_callableinfo in order to have the VFunc_info.*)
4646

4747
val cast_from_baseinfo : Base_info.t structure ptr -> t structure ptr
@@ -51,7 +51,7 @@ val cast_to_baseinfo : t structure ptr -> Base_info.t structure ptr
5151
(** Just cast OCaml Ctypes signal info to base info *)
5252

5353
val add_unref_finaliser : t structure ptr -> t structure ptr
54-
(** Add unref of the C underlying structure whith Gc.finalise. *)
54+
(** Add unref of the C underlying structure with Gc.finalise. *)
5555

5656
val from_baseinfo : Base_info.t structure ptr -> t structure ptr
5757
(** Return a Signal_info.t from a Base_info.t, the underlying C structure

lib/Struct_info.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ val find_method :
5858
(** Obtain the type information for method named name .*)
5959

6060
val add_unref_finaliser : t structure ptr -> t structure ptr
61-
(** Add unref of the C underlying structure whith Gc.finalise. *)
61+
(** Add unref of the C underlying structure with Gc.finalise. *)
6262

6363
val from_baseinfo : Base_info.t structure ptr -> t structure ptr
6464
(** Return a Struct_info.t from a Base_info.t, the underlying C structure

0 commit comments

Comments
 (0)