Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Source file bindings_stubs_g_param.ml
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253[@@@warning"-9-27"]includeCtypesletliftx=xopenCtypes_staticletrecfield:typeta.ttyp->string->atyp->(a,t)field=funsfnameftype->matchs,fnamewith|View{ty;_},_->let{ftype;foffset;fname}=fieldtyfnameftypein{ftype;foffset;fname}|_->failwith("Unexpected field "^fname)letrecseal:typea.atyp->unit=function|Struct{tag;spec=Complete_;_}->raise(ModifyingSealedTypetag)|Union{utag;uspec=Some_;_}->raise(ModifyingSealedTypeutag)|View{ty;_}->sealty|_->raise(Unsupported"Sealing a non-structured type")type'aconst='aletconstant(typet)name(t:ttyp):t=matcht,namewith|Ctypes_static.PrimitiveCstubs_internals.Int64_t,"G_PARAM_DEPRECATED"->-2147483648L|Ctypes_static.PrimitiveCstubs_internals.Int64_t,"G_PARAM_EXPLICIT_NOTIFY"->1073741824L|Ctypes_static.PrimitiveCstubs_internals.Int64_t,"G_PARAM_STATIC_BLURB"->128L|Ctypes_static.PrimitiveCstubs_internals.Int64_t,"G_PARAM_STATIC_NICK"->64L|Ctypes_static.PrimitiveCstubs_internals.Int64_t,"G_PARAM_STATIC_NAME"->32L|Ctypes_static.PrimitiveCstubs_internals.Int64_t,"G_PARAM_LAX_VALIDATION"->16L|Ctypes_static.PrimitiveCstubs_internals.Int64_t,"G_PARAM_CONSTRUCT_ONLY"->8L|Ctypes_static.PrimitiveCstubs_internals.Int64_t,"G_PARAM_CONSTRUCT"->4L|Ctypes_static.PrimitiveCstubs_internals.Int64_t,"G_PARAM_READWRITE"->3L|Ctypes_static.PrimitiveCstubs_internals.Int64_t,"G_PARAM_WRITABLE"->2L|Ctypes_static.PrimitiveCstubs_internals.Int64_t,"G_PARAM_READABLE"->1L|_,s->failwith("unmatched constant: "^s)letenum(typea)name?typedef?unexpected(alist:(a*int64)list)=matchnamewith|"GParamFlags"->Cstubs_internals.build_enum_type"GParamFlags"Ctypes_static.Int32?typedef?unexpectedalist|s->failwith("unmatched enum: "^s)