Changeset 171e6a0 in tol for vbtol/source/datatype.cpp
- Timestamp:
- Jan 12, 2016, 1:05:05 PM (11 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- eb0481b
- Parents:
- 8685395
- File:
-
- 1 edited
-
vbtol/source/datatype.cpp (modified) (16 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vbtol/source/datatype.cpp
r8685395 r171e6a0 22 22 */ 23 23 24 #include <config.h> 25 #include <tol_init.h> 26 #include <tol_bgrammar.h> 24 #if defined(_MSC_VER) 25 #include <config.h> 26 #include <tol_init.h> 27 #include <tol_bgrammar.h> 28 #else 29 #include <tol/config.h> 30 #include <tol/tol_init.h> 31 #include <tol/tol_bgrammar.h> 32 #endif 33 27 34 #include <tol/tol_bdat.h> 28 35 #include <tol/tol_bdatgra.h> … … 31 38 #include <tol/tol_bmatgra.h> 32 39 33 #include " VButils.h"40 #include "vbutils.h" 34 41 35 42 /* … … 42 49 */ 43 50 //--------------------------------------------------------------------------- 44 short __declspec(dllexport) CALLBACKTolGetText(BSTR lvalue, BSTR * retvalue)51 extern "C" __declspec(dllexport) short __stdcall TolGetText(BSTR lvalue, BSTR * retvalue) 45 52 //--------------------------------------------------------------------------- 46 53 { … … 69 76 */ 70 77 //--------------------------------------------------------------------------- 71 short __declspec(dllexport) CALLBACKTolCreateText(BSTR name, BSTR value)78 extern "C" __declspec(dllexport) short __stdcall TolCreateText(BSTR name, BSTR value) 72 79 //--------------------------------------------------------------------------- 73 80 { … … 110 117 */ 111 118 //--------------------------------------------------------------------------- 112 short __declspec(dllexport) CALLBACKTolGetReal(BSTR lvalue, stolreal * retvalue)119 extern "C" __declspec(dllexport) short __stdcall TolGetReal(BSTR lvalue, stolreal * retvalue) 113 120 //--------------------------------------------------------------------------- 114 121 { … … 146 153 */ 147 154 //--------------------------------------------------------------------------- 148 short __declspec(dllexport) CALLBACKTolCreateReal(BSTR name, stolreal * value)155 extern "C" __declspec(dllexport) short __stdcall TolCreateReal(BSTR name, stolreal * value) 149 156 //--------------------------------------------------------------------------- 150 157 { … … 343 350 */ 344 351 //--------------------------------------------------------------------------- 345 short __declspec(dllexport) CALLBACKTolGetRange(BSTR lvalue,352 extern "C" __declspec(dllexport) short __stdcall TolGetRange(BSTR lvalue, 346 353 long frow, long lrow, 347 354 long fcol, long lcol, … … 368 375 */ 369 376 //--------------------------------------------------------------------------- 370 short __declspec(dllexport) CALLBACKTolGetMatrix(BSTR lvalue,377 extern "C" __declspec(dllexport) short __stdcall TolGetMatrix(BSTR lvalue, 371 378 LPSAFEARRAY FAR * retvalue, 372 379 LPSAFEARRAY FAR * retmask) … … 391 398 */ 392 399 //--------------------------------------------------------------------------- 393 short __declspec(dllexport) CALLBACKTolGetRow(BSTR lvalue, long row,400 extern "C" __declspec(dllexport) short __stdcall TolGetRow(BSTR lvalue, long row, 394 401 LPSAFEARRAY FAR * retvalue, 395 402 LPSAFEARRAY FAR * retmask) … … 416 423 */ 417 424 //--------------------------------------------------------------------------- 418 short __declspec(dllexport) CALLBACKTolGetColumn(BSTR lvalue, long col,425 extern "C" __declspec(dllexport) short __stdcall TolGetColumn(BSTR lvalue, long col, 419 426 LPSAFEARRAY FAR * retvalue, 420 427 LPSAFEARRAY FAR * retmask) … … 437 444 */ 438 445 //--------------------------------------------------------------------------- 439 short __declspec(dllexport) CALLBACKTolGetCell(BSTR lvalue, long row, long col,446 extern "C" __declspec(dllexport) short __stdcall TolGetCell(BSTR lvalue, long row, long col, 440 447 stolreal * retvalue) 441 448 //--------------------------------------------------------------------------- … … 610 617 */ 611 618 //--------------------------------------------------------------------------- 612 short __declspec(dllexport) CALLBACKTolPutRange(BSTR lvalue, long row, long col,619 extern "C" __declspec(dllexport) short __stdcall TolPutRange(BSTR lvalue, long row, long col, 613 620 LPSAFEARRAY FAR * value, 614 621 LPSAFEARRAY FAR * mask) … … 635 642 */ 636 643 //--------------------------------------------------------------------------- 637 short __declspec(dllexport) CALLBACKTolPutRow(BSTR lvalue, long row,644 extern "C" __declspec(dllexport) short __stdcall TolPutRow(BSTR lvalue, long row, 638 645 LPSAFEARRAY FAR * value, 639 646 LPSAFEARRAY FAR * mask) … … 660 667 */ 661 668 //--------------------------------------------------------------------------- 662 short __declspec(dllexport) CALLBACKTolPutColumn(BSTR lvalue, long col,669 extern "C" __declspec(dllexport) short __stdcall TolPutColumn(BSTR lvalue, long col, 663 670 LPSAFEARRAY FAR * value, 664 671 LPSAFEARRAY FAR * mask) … … 681 688 */ 682 689 //--------------------------------------------------------------------------- 683 short __declspec(dllexport) CALLBACKTolPutCell(BSTR lvalue, long row, long col,690 extern "C" __declspec(dllexport) short __stdcall TolPutCell(BSTR lvalue, long row, long col, 684 691 stolreal * value) 685 692 //--------------------------------------------------------------------------- … … 732 739 */ 733 740 //--------------------------------------------------------------------------- 734 short __declspec(dllexport) CALLBACKTolCreateMatrix(BSTR name,741 extern "C" __declspec(dllexport) short __stdcall TolCreateMatrix(BSTR name, 735 742 LPSAFEARRAY FAR * value, 736 743 LPSAFEARRAY FAR * mask)
Note: See TracChangeset
for help on using the changeset viewer.
