0feaec90eb
[GB.GSL] * BUG: Fix typo in a source file that is not yet used.
54 lines
1.7 KiB
C
54 lines
1.7 KiB
C
/***************************************************************************
|
|
|
|
c_newtonpolynomial.c
|
|
|
|
gb.gsl component
|
|
|
|
(c) 2012 Randall Morgan <rmorgan62@gmail.com>
|
|
|
|
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 1, 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.
|
|
|
|
***************************************************************************/
|
|
/*=========================================================================
|
|
=== NOTE THIS IS SIMPLE LEARNING CODE ===
|
|
AND NOTHING USEFUL EXISTS HERE YET
|
|
==========================================================================*/
|
|
|
|
#define __C_GSL_NEWTONPOLYNOMIAL_C
|
|
|
|
#include "c_newtonpolynomial.h"
|
|
|
|
|
|
#define THIS ((CNEWTONPOLYNOMIAL *)_object)
|
|
|
|
static CNEWTONPOLYNOMIAL *create_newtonplynomial()
|
|
{
|
|
return (CNEWTONPOLYNOMIAL *)GB.New(GB.FindClass("NewtonPolynomial"), NULL, NULL);
|
|
}
|
|
|
|
|
|
|
|
/**************************************************
|
|
Describe Class properties and methods to Gambas
|
|
**************************************************/
|
|
GB_DESC CNetwonPolynomial[] =
|
|
{
|
|
GB_DECLARE("NewtonPolynomial", sizeof(CNEWTONPOLYNOMIAL)),
|
|
|
|
GB_END_DECLARE
|
|
};
|
|
|