[gtkada] locate the C function

yoann toussaint yoann.toussaint at free.fr
Thu May 16 18:41:18 CEST 2002


Preben Randhol wrote:

>yoann toussaint <yoann.toussaint at free.fr> wrote on 16/05/2002 (13:58) :
>
>>hello,
>>the function draw_line in the gtk-extra-plot package is implemented like 
>>that :
>>
>>procedure Draw_Line (Plot : access Gtk_Plot_Record;
>>                       Line : Gtk_Plot_Line;
>>                       X1, Y1, X2, Y2 : Gdouble)
>>  is
>>     procedure Internal (Plot : System.Address;
>>                         Line : Gtk_Plot_Line;
>>                         X1, Y1, X2, Y2 : Gdouble);
>>     pragma Import (C, Internal, "gtk_plot_draw_line");
>>  begin
>>     Internal (Get_Object (Plot), Line, X1, Y1, X2, Y2);
>>  end Draw_Line;
>>
>>Is anyone knows how to locate the C function 'gtk_plot_draw_line'
>>in gtkada there is a lot of function which use C function with 
>>instructions like :
>>
>>pragma Import (C, Internal, "C_function");
>>
>>and and I don't know how to find them
>>
>
>huh ? What are you asking really? By the way please tell which OS you
>use too :-)
>
sorry, I am using Debian (GNU/Linux) with the gtkada debian package






More information about the gtkada mailing list