package raylib
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
OCaml bindings for raylib
Install
dune-project
Dependency
Authors
Maintainers
Sources
raylib-2.0.0.tbz
sha256=6e86f44506722c89fef8d62a3f2087f7265f90f8c5aaba37edd15644c45d7007
sha512=ece8be2bd9409ba927063f33a73990462b864ee837ae3d87ad8198cd295cf421be7f47114873742877b3262a5c6079e9d6b371f5fe22853bd751576b824c2c07
doc/src/raylib.core/raylib_core.ml.html
Source file raylib_core.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48include Ctypes_reexports include Raylib_types open Ctypes_reexports open Ctypes include Raylib_c.Raylib_generated.Functions (* CArray or string wrapped functions *) let load_file_data path = let count = ptr_of_int 0 in let data = _load_file_data path count in let s = string_from_ptr data ~length:!@count in _unload_file_data data; s let save_file_data path data = let count = CArray.length data in _save_file_data path (to_voidp (CArray.start data)) count let export_data_as_code data filename = _export_data_as_code data (String.length data) filename let _strlen ptr = let i = ref 0 in while !@(ptr +@ !i) <> '\000' do incr i done; !i let load_file_text path = let text = _load_file_text path in let count = _strlen text in let s = string_from_ptr text ~length:count in _unload_file_text text; s let compress_data in_data = let in_count = CArray.length in_data in let out_count = ptr_of_int 0 in let out_data = _compress_data (CArray.start in_data) in_count out_count in CArray.from_ptr out_data !@out_count let decompress_data in_data = let in_count = CArray.length in_data in let out_count = ptr_of_int 0 in let out_data = _decompress_data (CArray.start in_data) in_count out_count in CArray.from_ptr out_data !@out_count let get_char_pressed () = _get_char_pressed () |> Uchar.of_int
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>