cronologic-de / xhptdc8_babel

Wrappers, Utilities and Examples for using the xHPTDC8 with various programming languages.
Mozilla Public License 2.0
0 stars 1 forks source link

Updates in interface.h for Go compatibility #31

Closed Bassem-Ramzy closed 3 years ago

Bassem-Ramzy commented 3 years ago

Header is updated for Go compatibility, needed in issue #19 Before: After:

    XHPTDC8_API const char* xhptdc8_get_last_error_message(xhptdc8_manager hMgr, int index = -1);

After:

    xhptdc8_manager INVALID_HMGR = NULL;
    XHPTDC8_API const char* xhptdc8_get_last_error_message(xhptdc8_manager hMgr, int index/* = -1*/);

Driver to take those updates into consideration

ahofmann75 commented 3 years ago

Default parameter removed as it is not suported by plain C.