2011-01-09 17:45 UTC+0200 Petr Chornyj (myorg63 at mail.ru)

* contrib/hbmxml/hbmxml.hbp
  + contrib/hbmxml/hbmxml.hbx
  + contrib/hbmxml/hbmxmlx.prg
    + Added .hbx and extern puller harness.
      Borrowed from hbexpat/Viktor Szakats.
This commit is contained in:
Petr Chornyj
2011-01-09 15:43:02 +00:00
parent b92ec821d9
commit 47497c3561
3 changed files with 156 additions and 1 deletions

View File

@@ -18,7 +18,8 @@
-instfile=inc:hbmxml.ch
hbmxmlp.prg
hbmxml.c
hbmxmlp.prg
hbmxmlx.prg
3rd/minixml/mxml.hbc{HBMK_HAS_MXML_LOCAL}

View File

@@ -0,0 +1,99 @@
/*
* $Id$
*/
/* -------------------------------------------------------------------- */
/* 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 with HB_REBUILD_EXTERN=yes while using GCC */
/* compiler family. [vszakats] */
/* -------------------------------------------------------------------- */
#ifndef __HBEXTERN_CH__HBMXML__
#define __HBEXTERN_CH__HBMXML__
#ifdef __HBEXTERN__HBMXML__ANNOUNCE
ANNOUNCE __HBEXTERN__HBMXML__
#endif
#ifdef __HBEXTERN__HBMXML__REQUEST
#command DYNAMIC <fncs,...> => EXTERNAL <fncs>
#endif
DYNAMIC HB_MXMLVERSION
DYNAMIC MXMLADD
DYNAMIC MXMLDELETE
DYNAMIC MXMLELEMENTDELETEATTR
DYNAMIC MXMLELEMENTGETATTR
DYNAMIC MXMLELEMENTSETATTR
DYNAMIC MXMLELEMENTSETATTRF
DYNAMIC MXMLENTITYGETNAME
DYNAMIC MXMLENTITYGETVALUE
DYNAMIC MXMLFINDELEMENT
DYNAMIC MXMLFINDPATH
DYNAMIC MXMLGETCDATA
DYNAMIC MXMLGETCUSTOM
DYNAMIC MXMLGETELEMENT
DYNAMIC MXMLGETFIRSTCHILD
DYNAMIC MXMLGETINTEGER
DYNAMIC MXMLGETLASTCHILD
DYNAMIC MXMLGETNEXTSIBLING
DYNAMIC MXMLGETOPAQUE
DYNAMIC MXMLGETPARENT
DYNAMIC MXMLGETPREVSIBLING
DYNAMIC MXMLGETREAL
DYNAMIC MXMLGETREFCOUNT
DYNAMIC MXMLGETTEXT
DYNAMIC MXMLGETTYPE
DYNAMIC MXMLGETUSERDATA
DYNAMIC MXMLINDEXDELETE
DYNAMIC MXMLINDEXENUM
DYNAMIC MXMLINDEXFIND
DYNAMIC MXMLINDEXGETCOUNT
DYNAMIC MXMLINDEXNEW
DYNAMIC MXMLINDEXRESET
DYNAMIC MXMLLOADFILE
DYNAMIC MXMLLOADSTRING
DYNAMIC MXMLNEWCDATA
DYNAMIC MXMLNEWCUSTOM
DYNAMIC MXMLNEWELEMENT
DYNAMIC MXMLNEWINTEGER
DYNAMIC MXMLNEWOPAQUE
DYNAMIC MXMLNEWREAL
DYNAMIC MXMLNEWTEXT
DYNAMIC MXMLNEWTEXTF
DYNAMIC MXMLNEWXML
DYNAMIC MXMLRELEASE
DYNAMIC MXMLREMOVE
DYNAMIC MXMLRETAIN
DYNAMIC MXMLSAVEALLOCSTRING
DYNAMIC MXMLSAVEFILE
DYNAMIC MXMLSAVESTRING
DYNAMIC MXMLSAXLOADFILE
DYNAMIC MXMLSAXLOADSTRING
DYNAMIC MXMLSETCDATA
DYNAMIC MXMLSETCUSTOM
DYNAMIC MXMLSETCUSTOMHANDLERS
DYNAMIC MXMLSETELEMENT
DYNAMIC MXMLSETERRORCALLBACK
DYNAMIC MXMLSETINTEGER
DYNAMIC MXMLSETOPAQUE
DYNAMIC MXMLSETREAL
DYNAMIC MXMLSETTEXT
DYNAMIC MXMLSETTEXTF
DYNAMIC MXMLSETUSERDATA
DYNAMIC MXMLSETWRAPMARGIN
DYNAMIC MXMLWALKNEXT
DYNAMIC MXMLWALKPREV
#ifdef __HBEXTERN__HBMXML__REQUEST
#uncommand DYNAMIC <fncs,...> => EXTERNAL <fncs>
#endif
#endif

View File

@@ -0,0 +1,55 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* extern puller
*
* Copyright 2010-2011 Petr Chornyj <myorg63@mail.ru>
* www - http://harbour-project.org
*
* 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 software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
#define __HBEXTERN__HBMXML__ANNOUNCE
#define __HBEXTERN__HBMXML__REQUEST
#include "hbmxml.hbx"