From 7e248ce65e80cbf0f39f4ff12ed661c7455f217c Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Sat, 8 May 2010 14:56:42 -0700 Subject: [PATCH] fix documentation about callbacks in manual --- doc/manual/callbacks.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/manual/callbacks.texi b/doc/manual/callbacks.texi index a68a89a3b..6deb0df95 100644 --- a/doc/manual/callbacks.texi +++ b/doc/manual/callbacks.texi @@ -380,8 +380,8 @@ by extending the callback implementation). So in the above example, we have a declared a callback named "one" that will eventually hold a function pointer. The signature of the function that it will hold must return double and must support two double arguments. If one tries -to pass a function whose signature does not match the declared callback, the -compilation will fail. +to pass a function whose signature does not match the declared callback, a +run-time NS_FATAL_ERROR will be raised. Now, we need to tie together this callback instance and the actual target function (CbOne). Notice above that CbOne has the same function signature types as the