2 gSystem.Load(
"./.sun4x_56/lib/libbase.so");
6 printf(
" The module with NO parameter has been created: <%s> \n",defmodule.CheckParameters()?
"Failed" :
"Ok" );
8 printf(
" Module with 1 parameters is <%s> \n",module->CheckParameters()?
"Failed" :
"Ok" );
10 printf(
" \n ------ \n The Warning message should follow:\n");
11 defmodule((ULong_t *)0,&second);
12 printf(
" \n ------ \n The Error message should follow:\n");
13 printf(
" Check Parameters: %d \n",defmodule->CheckParameters());
15 printf(
" \n ------ \n 2 <good> messages expected: \n");
16 module((ULong_t *)0,&second);
18 module((ULong_t *)0,&second,(ULong_t *)0,(ULong_t *)0,&first,&second);
19 module->CheckParameters();
20 const Char_t *name[]= {
"First",
"Second"};
21 module->CheckParameters(name);