[DEVELOPMENT ENVIRONMENT]
* NEW: Add gb.gsl to the list of components. [GB.GSL] * BUG: Fix implementation and declaration of Gsl.IntPow2(). git-svn-id: svn://localhost/gambas/trunk@4430 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
3586159eb8
commit
14aed2a6e2
5 changed files with 4924 additions and 5072 deletions
|
@ -103,158 +103,162 @@ msgid "Multi Document Interface"
|
|||
msgstr ""
|
||||
|
||||
#: CComponent.class:99
|
||||
msgid "GTK+ toolkit"
|
||||
msgid "GNU Scientific Library"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:100
|
||||
msgid "GTK+ toolkit extension"
|
||||
msgid "GTK+ toolkit"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:101
|
||||
msgid "OpenGL with GTK+ toolkit"
|
||||
msgid "GTK+ toolkit extension"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:102
|
||||
msgid "GTK+ SVG renderer"
|
||||
msgid "OpenGL with GTK+ toolkit"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:103
|
||||
msgid "QT/GTK+ switcher component"
|
||||
msgid "GTK+ SVG renderer"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:104
|
||||
msgid "Image management"
|
||||
msgid "QT/GTK+ switcher component"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:105
|
||||
msgid "Image filtering component"
|
||||
msgid "Image management"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:106
|
||||
msgid "Image filtering component"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:107
|
||||
msgid "Image routines from the Imlib2 library"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:107 FPropertyComponent.form:138
|
||||
#: CComponent.class:108 FPropertyComponent.form:138
|
||||
msgid "Image loading and saving"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:108
|
||||
#: CComponent.class:109
|
||||
msgid "OpenLDAP client"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:109
|
||||
#: CComponent.class:110
|
||||
msgid "MySQL specific routines"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:110 FCreateProject.form:295
|
||||
#: CComponent.class:111 FCreateProject.form:295
|
||||
msgid "Network programming"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:111
|
||||
#: CComponent.class:112
|
||||
msgid "Network high-level protocols management"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:112
|
||||
#: CComponent.class:113
|
||||
msgid "SMTP client"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:113
|
||||
#: CComponent.class:114
|
||||
msgid "3D programming with OpenGL"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:114
|
||||
#: CComponent.class:115
|
||||
msgid "OpenGL utility component"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:115
|
||||
#: CComponent.class:116
|
||||
msgid "OpenGL shaders management"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:116
|
||||
#: CComponent.class:117
|
||||
msgid "GNU command option parser"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:117
|
||||
#: CComponent.class:118
|
||||
msgid "Perl-compatible Regular Expression Matching"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:118
|
||||
#: CComponent.class:119
|
||||
msgid "PDF renderer based on Poppler library"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:119
|
||||
#: CComponent.class:120
|
||||
msgid "QT4 toolkit"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:120
|
||||
#: CComponent.class:121
|
||||
msgid "QT4 toolkit extension"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:121
|
||||
#: CComponent.class:122
|
||||
msgid "QT4 WebKit component"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:122
|
||||
#: CComponent.class:123
|
||||
msgid "OpenGL with QT4 toolkit"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:123
|
||||
#: CComponent.class:124
|
||||
msgid "Report designer"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:124
|
||||
#: CComponent.class:125
|
||||
msgid "SDL library"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:125
|
||||
#: CComponent.class:126
|
||||
msgid "SDL sound & CD-ROM management"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:126
|
||||
#: CComponent.class:127
|
||||
msgid "Application settings management"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:127
|
||||
#: CComponent.class:128
|
||||
msgid "Signals management"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:128
|
||||
#: CComponent.class:129
|
||||
msgid "Video capture"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:129
|
||||
#: CComponent.class:130
|
||||
msgid "Visual Basic compatibility"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:130
|
||||
#: CComponent.class:131
|
||||
msgid "XML tools based on libxml"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:131
|
||||
#: CComponent.class:132
|
||||
msgid "XML-RPC protocol"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:132
|
||||
#: CComponent.class:133
|
||||
msgid "XSLT tools based on libxslt"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:133
|
||||
#: CComponent.class:134
|
||||
msgid "Web applications tools"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:139 FPropertyComponent.form:126
|
||||
#: CComponent.class:140 FPropertyComponent.form:126
|
||||
msgid "Graphical form management"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:140 FPropertyComponent.form:132
|
||||
#: CComponent.class:141 FPropertyComponent.form:132
|
||||
msgid "Event loop management"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:142 FPropertyComponent.form:144
|
||||
#: CComponent.class:143 FPropertyComponent.form:144
|
||||
msgid "OpenGL display"
|
||||
msgstr ""
|
||||
|
||||
#: CComponent.class:437
|
||||
#: CComponent.class:438
|
||||
msgid "Loading information on component &1..."
|
||||
msgstr ""
|
||||
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load diff
|
@ -96,6 +96,7 @@ Static Private Sub InitComponentNames()
|
|||
$cName["gb.form"] = ("More controls for graphical components")
|
||||
$cName["gb.form.dialog"] = ("Enhanced standard dialogs")
|
||||
$cName["gb.form.mdi"] = ("Multi Document Interface")
|
||||
$cName["gb.gsl"] = ("GNU Scientific Library")
|
||||
$cName["gb.gtk"] = ("GTK+ toolkit")
|
||||
$cName["gb.gtk.ext"] = ("GTK+ toolkit extension")
|
||||
$cName["gb.gtk.opengl"] = ("OpenGL with GTK+ toolkit")
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
#include "gb_common.h"
|
||||
#include "c_gsl.h"
|
||||
//#include "/usr/local/include/gsl/gsl_math.h"
|
||||
#include <gsl/gsl_math.h>
|
||||
#include <gsl/gsl_sf.h>
|
||||
|
||||
#endif
|
||||
|
@ -37,20 +38,26 @@
|
|||
/*-----------------------------------------------
|
||||
Small Integer Power Functions
|
||||
-----------------------------------------------*/
|
||||
BEGIN_METHOD(GSL_INTPOW2, GB_INTEGER x;)
|
||||
|
||||
BEGIN_METHOD(Gsl_IntPow2, GB_FLOAT x)
|
||||
|
||||
// Return x^2 using a small int safe method
|
||||
// call gsl native function double gsl_pow_2(int x)
|
||||
|
||||
GB.ReturnFloat(gsl_pow_2(VARG(x)));
|
||||
|
||||
END_METHOD
|
||||
|
||||
|
||||
/**************************************************
|
||||
Describe Class properties and methods to Gambas
|
||||
**************************************************/
|
||||
|
||||
GB_DESC CGslDesc[] =
|
||||
{
|
||||
GB_DECLARE("GSL",0), GB_NOT_CREATABLE(),
|
||||
GB_DECLARE("Gsl",0), GB_NOT_CREATABLE(),
|
||||
|
||||
GB_METHOD("IntPow", "f", GSL_INTPOW2, "(x)f"),
|
||||
GB_STATIC_METHOD("IntPow2", "f", Gsl_IntPow2, "(X)f"),
|
||||
|
||||
GB_END_DECLARE
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue