Project

Profile

Help

Revision c6dcd97a

Added by O'Neil Delpratt almost 6 years ago

Saxon/C update and bug fixes

View differences:

latest9.6/hec/Saxon.C.API/SaxonCGlue.h
1
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2
// Copyright (c) 2016 Saxonica Limited.
3
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
// If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
// This Source Code Form is "Incompatible With Secondary Licenses", as defined by the Mozilla Public License, v. 2.0.
6
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
7

  
1 8
#ifndef SAXONCGLUE_H 
2 9
#define SAXONCGLUE_H
3 10
#include <jni.h>
......
51 58

  
52 59
static char dllname[] =
53 60
    #ifdef __linux__
54
        "/usr/lib/libsaxon.so";  //rename according to product edition (-hec or -pec) Also make change in the c file
61
        "/usr/lib/libsaxonhec.so";  //rename according to product edition (hec or pec) Also make change in the c file
55 62
    #elif  defined (__APPLE__) && defined(__MACH__)
56 63
        "/usr/lib/libsaxoneec.dylib";
57 64
    #else
58
         "C:\\Program Files\\Saxonica\\SaxonEEC1.0.0\\libsaxoneec.dll";
65
         "C:\\Program Files\\Saxonica\\SaxonHEC1.0.0\\libsaxonhec.dll";
59 66
    #endif
60 67

  
61 68
static char resources_dir[] = 
......
64 71
    #elif  defined (__APPLE__) && defined(__MACH__)
65 72
        "/usr/lib/saxon-data";
66 73
    #else
67
         "C:\\Program Files\\Saxonica\\SaxonEEC1.0.0\\saxon-data";
74
         "C:\\Program Files\\Saxonica\\SaxonHEC1.0.0\\saxon-data";
68 75
    #endif
69 76

  
70 77

  

Also available in: Unified diff