source: tol/vbtol/source/vbutils.h

devel
Last change on this file was 171e6a0, checked in by Pedro Gea <pgea@…>, 11 years ago

Refs #1910
Se incorporan los CMakeLists.txt
Se modifica el código para incorpora rlas diferencias entre los dos compiladores en Windows.

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@7188 be4846ae-f051-483a-831f-b64e7d08527f

  • Property mode set to 100644
File size: 1.6 KB
RevLine 
[6d7779d]1/* tt_tclutils.h - This file define a set of utils functions.
2                   GNU/tolTcl Library
3
4   Copyright (C) 2001, 2002, 2003 - Bayes Decisión, SL
5
6   This program is free software; you can redistribute it and/or modify
7   it under the terms of the GNU General Public License as published by
8   the Free Software Foundation; either version 2, or (at your option)
9   any later version.
10
11   This program is distributed in the hope that it will be useful,
12   but WITHOUT ANY WARRANTY; without even the implied warranty of
13   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   GNU General Public License for more details.
15
16   You should have received a copy of the GNU General Public License
17   along with this program; if not, write to the Free Software
18   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
19   USA.
20 */
21
22#ifndef VB_UTILS_H
23#define VB_UTILS_H 1
24
25#include <string.h>
26#include <windows.h>
27
[171e6a0]28#if defined(_MSC_VER)
29  #include <config.h>
30  #include <tol_init.h>
31  #include <tol_bmatgra.h>
32#else
33  #include <tol/config.h>
34  #include <tol/tol_init.h>
35  #include <tol/tol_bmatgra.h>
36#endif
37
38#if defined(_MSC_VER)
39  #define DLLEXPORT(f) f __declspec(dllexport) CALLBACK
40#else
41  #define DLLEXPORT(f) extern "C" __declspec(dllexport) f __stdcall
42#endif
[171d603]43
44class BList;
45
46extern BList VB_stack;
47
48void VB_concat(BList* head, BList* tail);
49
50
[6d7779d]51typedef void (__stdcall *FN_PTR)(BSTR str);
52
53extern FN_PTR VB_Writer;
54
55void VBTol_gsl_error_handler(const char * reason, const char * file, int line,
56                                                         int gsl_errno);
57
58void VBTol_HciWriter(const BText & str);
59
[171d603]60
[6d7779d]61#endif
Note: See TracBrowser for help on using the repository browser.