package ctypes
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  Combinators for binding to C libraries without writing any C
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      0.13.0.tar.gz
    
    
        
    
  
  
  
    
  
  
    
  
        sha256=81f61e13b789b57b8055d4a22f0e41ae1309e0b9da86b0472bdb7bed0537f4f7
    
    
  md5=fe066ce52fb44921314208c3e0ee6c53
    
    
  doc/ctypes.stubs/Cstubs_inverted/index.html
Module Cstubs_inverted
Operations for exposing OCaml code as C libraries.
module type INTERNAL = sig ... endval write_c : Format.formatter -> prefix:string -> (module BINDINGS) -> unitwrite_c fmt ~prefix bindings generates C stubs for the functions bound with internal in bindings. The stubs are intended to be used in conjunction with the ML code generated by write_ml.
The generated code uses definitions exposed in the header file cstubs_internals.h.
val write_c_header : 
  Format.formatter ->
  prefix:string ->
  (module BINDINGS) ->
  unitwrite_c_header fmt ~prefix bindings generates a C header file for the functions bound with internal in bindings. The stubs are intended to be used in conjunction with the C code generated by write_c.
val write_ml : Format.formatter -> prefix:string -> (module BINDINGS) -> unitwrite_ml fmt ~prefix bindings generates ML bindings for the functions bound with internal in bindings. The generated code conforms to the INTERNAL interface.
The generated code uses definitions exposed in the module Cstubs_internals.
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >