Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Should one use caml_ prefix in C code ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-03-28 (04:44)
From: Sébastien Hinderer <Sebastien.Hinderer@e...>
Subject: Should one use caml_ prefix in C code ?
Dear all,

Among Caml header files is one called compatibility.h.
This file defines macros allowing one to use, say, copy_string rather
than caml_copy_string when writing stub functions.
But what is the recommended style for writing stubs ?
Should the caml_ prefix be used, or not ?
The documentation does not seem to mention anything about that.