Changeset 9fc2ffd in git for Singular/blackbox.cc


Ignore:
Timestamp:
Apr 18, 2011, 3:45:12 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
f84c3bb40f874bb3f7be902077b2c20d9f8f97ef
Parents:
16d5ed19b49ff904efe7515c3da8eb4576c16710
Message:
serialiaze for blackbox

git-svn-id: file:///usr/local/Singular/svn/trunk@14173 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/blackbox.cc

    r16d5ed r9fc2ffd  
    4141{
    4242  return NULL;
     43}
     44
     45BOOLEAN blackbox_default_serialize(blackbox *b, void *d, FILE *f)
     46{
     47  return TRUE;
     48}
     49
     50BOOLEAN blackbox_default_deserialize(blackbox *b, void **d, FILE *f)
     51{
     52  return TRUE;
    4353}
    4454
     
    136146    if (bb->blackbox_OpM==NULL)     bb->blackbox_OpM=blackbox_default_OpM;
    137147    if (bb->blackbox_Check==NULL)   bb->blackbox_Check=blackbox_default_Check;
     148    if (bb->blackbox_serialize==NULL) bb->blackbox_serialize=blackbox_default_serialize;
     149    if (bb->blackbox_deserialize==NULL) bb->blackbox_deserialize=blackbox_default_deserialize;
    138150    return where+BLACKBOX_OFFSET;
    139151  }
    140152}
     153
    141154void removeBlackboxStuff(const int rt)
    142155{
Note: See TracChangeset for help on using the changeset viewer.