df89e09b2e
* NEW: '_operators' interface has been renamed as '_operator'. * NEW: Arithmetic operators now can be applied on two objects with different classes. One at least must implement the '_operator' interface. * NEW: Each class that implements the '_operator' interface has now an automatic priority that follows the load order. When a binary operator has two objects that implement two different '_operator' interface, the one having the highest priority is used. * NEW: Implementing all methods in the '_operators' interface is not mandatory anymore. If one method is not implemented, then it is replaced by a function that raises a 'Type mismatch' error. [GB.GSL] * NEW: Matrix arithmetic has been implemented. * NEW: Matrix.Determinant() method. * NEW: Matrix.Invert() method. * NEW: Matrix.Transpose() method. * NEW: Matrix _call special method multiplies a matrix by a vector. * NEW: Vector <-> Array conversion. git-svn-id: svn://localhost/gambas/trunk@4946 867c0c6c-44f3-4631-809d-bfa615b0a4ec
38 lines
1.2 KiB
C
38 lines
1.2 KiB
C
/***************************************************************************
|
|
|
|
gbx_c_class.h
|
|
|
|
(c) 2000-2012 Benoît Minisini <gambas@users.sourceforge.net>
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2, or (at your option)
|
|
any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
|
MA 02110-1301, USA.
|
|
|
|
***************************************************************************/
|
|
|
|
#ifndef __GBX_C_CLASS_H
|
|
#define __GBX_C_CLASS_H
|
|
|
|
#include "gambas.h"
|
|
|
|
#ifndef __GBX_C_CLASS_C
|
|
extern GB_DESC NATIVE_Component[];
|
|
extern GB_DESC NATIVE_Components[];
|
|
extern GB_DESC NATIVE_Class[];
|
|
extern GB_DESC NATIVE_Classes[];
|
|
extern GB_DESC NATIVE_Object[];
|
|
extern GB_DESC NATIVE_Symbol[];
|
|
#endif
|
|
|
|
#endif
|