package raylib

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Source file ctypes_reexports.ml

1
2
3
4
5
6
7
8
9
10
11
12
(* Re-exports some ctypes functionality to the Raylib module *)
(* but it's a band-aid *)

module CArray = Ctypes.CArray

let addr = Ctypes.addr

let ptr_of_int i = Ctypes.(allocate int i)

let ptr_of_uint i = Ctypes.(allocate uint i)

let void_ptr_of_int i = Ctypes.(to_voidp (ptr_of_int i))