/usr/share/yacas/include/arrayclass.h is in yacas 1.3.3-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #ifndef __arrayclass_h__
#define __arrayclass_h__
#include "yacasbase.h"
#include "lispobject.h"
#include "genericobject.h"
class ArrayClass : public GenericClass
{
public: //required
ArrayClass(LispInt aSize,LispObject* aInitialItem);
virtual ~ArrayClass();
virtual const LispChar * Send(LispArgList& aArgList);
virtual const LispChar * TypeName();
public: //array-specific
inline LispInt Size();
inline LispObject* GetElement(LispInt aItem); // TODO: 1-based, ...
inline void SetElement(LispInt aItem,LispObject* aObject);
private:
LispPtrArray iArray;
};
#include "arrayclass.inl"
#endif
|