Changeset c12cf96 in git for Singular/subexpr.h


Ignore:
Timestamp:
Sep 29, 1998, 12:39:12 PM (26 years ago)
Author:
Kai Krüger <krueger@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
c898336d2b07c6834ddddbc81515f8b883795ba3
Parents:
9ccebb1f2afc97ac52cb586d379fed91a6b84060
Message:
Modified Files:
 	* subexpr.h subexpr.cc
	Added packhdl and req_packhdl to sleftv (needed by namespaces)
	Added char * Fullname() to sleftv
        Changed syMake() for it.
        Added char *iiSleftv2name(leftv v)


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

Legend:

Unmodified
Added
Removed
  • Singular/subexpr.h

    r9ccebb rc12cf96  
    44*  Computer Algebra System SINGULAR     *
    55****************************************/
    6 /* $Id: subexpr.h,v 1.8 1998-08-27 12:03:49 obachman Exp $ */
     6/* $Id: subexpr.h,v 1.9 1998-09-29 10:39:11 krueger Exp $ */
    77/*
    88* ABSTRACT: handling of leftv
     
    2323extern const char sNoName[];
    2424extern BOOLEAN siq;
     25extern char *iiSleftv2name(leftv v);
    2526
    2627class sleftv;
     
    5051                  */
    5152    Subexpr e;    /* holds the indices for indexed values */
     53#ifdef HAVE_NAMESPACES
     54    idhdl       packhdl;
     55    idhdl       req_packhdl;
     56#define IDSROOT(a) (IDPACKAGE(((sleftv)a).packhdl)->idroot)
     57#endif /* HAVE_NAMESPACES */
    5258    inline void Init() { memset(this,0,sizeof(*this)); }
    5359    void Set(int val);
     
    6268    {
    6369      if ((name!=NULL) && (e==NULL)) return name;
     70      else return sNoName;
     71    }
     72    inline const char * Fullname()
     73    {
     74      if ((name!=NULL) && (e==NULL)) return(iiSleftv2name(this));
    6475      else return sNoName;
    6576    }
Note: See TracChangeset for help on using the changeset viewer.