2012-12-03 15:40 UTC+0100 Viktor Szakats (harbour syenar.net)

- contrib/gtalleg/gtalleg.c
  + contrib/gtalleg/gtallegd.c
  + contrib/gtalleg/gtalleg.hbx
  * contrib/gtalleg/gtalleg.hbc
  * contrib/gtalleg/gtalleg.hbm
  * contrib/gtalleg/tests/test.prg
    + build as dynlib
    + run as script (it hangs on exit)
This commit is contained in:
Viktor Szakats
2012-12-03 14:42:48 +00:00
parent b91a3a5221
commit 4351c8f533
6 changed files with 51 additions and 6 deletions

View File

@@ -10,6 +10,16 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2012-12-03 15:40 UTC+0100 Viktor Szakats (harbour syenar.net)
- contrib/gtalleg/gtalleg.c
+ contrib/gtalleg/gtallegd.c
+ contrib/gtalleg/gtalleg.hbx
* contrib/gtalleg/gtalleg.hbc
* contrib/gtalleg/gtalleg.hbm
* contrib/gtalleg/tests/test.prg
+ build as dynlib
+ run as script (it hangs on exit)
2012-12-03 15:26 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbformat/utils/hbformat.prg
* contrib/hbnetio/utils/hbnetio/netiomgm.hb

View File

@@ -4,6 +4,8 @@
description=GT for Allegro GUI backend
gt=${_HB_DYNPREF}${hb_name}${_HB_DYNSUFF}
{!HB_STATIC_ALLEGRO}libs=${_HB_DYNPREF}${hb_name}${_HB_DYNSUFF}
{HB_STATIC_ALLEGRO}libs=${_HB_DYNPREF}${hb_name}s${_HB_DYNSUFF}

View File

@@ -10,9 +10,7 @@
-w3 -es2
-hbx=
-stop{hbdyn|pocc|pocc64|poccarm|xcc|dmc|watcom|mingwarm|msvcarm}
-stop{pocc|pocc64|poccarm|xcc|dmc|watcom|mingwarm|msvcarm}
-depkeyhead=allegro:allegro.h
-depcontrol=allegro:no{HB_BUILD_3RDEXT='no'}
@@ -26,5 +24,7 @@
# For allegro headers
-c=gnu90
gtalleg.c
${hb_name}.hbx
gtallegd.c
ssf.c

View File

@@ -0,0 +1,30 @@
/* --------------------------------------------------------------------
* NOTE: You can add manual override which functions to include or
* exclude from automatically generated EXTERNAL/DYNAMIC list.
* Syntax: // HB_FUNC_INCLUDE <func>
* // HB_FUNC_EXCLUDE <func>
*/
/* --------------------------------------------------------------------
* WARNING: Automatically generated code below. DO NOT EDIT!
* Regenerate using hbmk2 '-hbx=' option.
*/
#ifndef __HBEXTERN_CH__GTALLEG__
#define __HBEXTERN_CH__GTALLEG__
#if defined( __HBEXTREQ__ ) .OR. defined( __HBEXTERN__GTALLEG__ANNOUNCE )
ANNOUNCE __HBEXTERN__GTALLEG__
#endif
#if defined( __HBEXTREQ__ ) .OR. defined( __HBEXTERN__GTALLEG__REQUEST )
#command DYNAMIC <fncs,...> => EXTERNAL <fncs>
#endif
DYNAMIC HB_GT_ALLEG
#if defined( __HBEXTREQ__ ) .OR. defined( __HBEXTERN__GTALLEG__REQUEST )
#uncommand DYNAMIC <fncs,...> => EXTERNAL <fncs>
#endif
#endif

View File

@@ -2,11 +2,14 @@
* $Id$
*/
REQUEST HB_GT_ALLEG_DEFAULT
ANNOUNCE HB_GTSYS
#require "gtalleg"
PROCEDURE Main()
#if defined( __HBSCRIPT__HBSHELL )
hbshell_gtSelect( "GTALLEG" )
#endif
CLS
Alert( "Hello world!" )