Go to the source code of this file.
◆ bigintm_setup()
Definition at line 271 of file bigintm.cc.
274 Werror(
"bigintm_setup: Sorry BIGINTM was not compiled in!");
278 if( bigintm_type_id == -1 )
280 blackbox *
b=(blackbox*)
omAlloc0(
sizeof(blackbox));
284 b->blackbox_destroy=bigintm_destroy;
285 b->blackbox_String=bigintm_String;
288 b->blackbox_Copy=bigintm_Copy;
289 b->blackbox_Assign=bigintm_Assign;
290 b->blackbox_Op1=bigintm_Op1;
291 b->blackbox_Op2=bigintm_Op2;
293 b->blackbox_OpM=bigintm_OpM;
297 Print(
"bigintm_setup: created a blackbox type [%d] '%s'",bigintm_type_id,
getBlackboxName(bigintm_type_id));
304 Werror(
"bigintm_setup: Sorry should NOT be run twice!");
const char * getBlackboxName(const int t)
return the name to the type given by t (r/o)
int setBlackboxStuff(blackbox *bb, const char *n)
define a new type
void Werror(const char *fmt,...)