Project

General

Profile

« Previous | Next » 

Revision 3445

Added by stephane over 13 years ago

KEY FILES
- minor correction

View differences:

src/scol_glib_keyfile.c
1318 1318
    "_gkeyFileGetGroups",
1319 1319
    "_gkeyFileGetNbGroups",
1320 1320
    "_gkeyFileDataExist",
1321
    "_keyFileGetValue",
1322
    "_keyFileGetLocaleValue",
1321
    "_gkeyFileGetValue",
1322
    "_gkeyFileGetLocaleValue",
1323 1323
    "_gkeyFileGetValueList",
1324 1324
    "_gkeyFileGetValueLocaleList",
1325 1325
    "_gkeyFileGetComment",
......
1513 1513
{
1514 1514
    MMechostr (0, "\nG KEY FILE library released !\n");
1515 1515
    return 0;
1516
}
1517

  
1518

  
1519
#if ((defined _WIN32) || (defined __WIN32__))
1520
# define SCOL_GBASE_PLUGIN_EXPORT __declspec (dllexport)
1521
#elif ((defined linux) || (defined __linux))
1522
# define SCOL_GBASE_PLUGIN_EXPORT
1523
#else
1524
# error no platform supported
1525
#endif
1526

  
1527
SCOL_GBASE_PLUGIN_EXPORT int SCOLloadGBASE(mmachine m, cbmachine w)
1528
{
1529
    ww = w;
1530
    mm = m;
1531

  
1532
    SCOLinitplugin(w);
1533
    return SCOLinitGlibKeyClass (m);
1534
}
1535

  
1536
SCOL_GBASE_PLUGIN_EXPORT int SCOLfreeGBASE()
1537
{
1538
    GkeyRelease ();
1539
    return 0;
1540
}
1516
}
1541 1517

  
1518

  
1519
#if ((defined _WIN32) || (defined __WIN32__))
1520
# define SCOL_GBASE_PLUGIN_EXPORT __declspec (dllexport)
1521
#elif ((defined linux) || (defined __linux))
1522
# define SCOL_GBASE_PLUGIN_EXPORT
1523
#else
1524
# error no platform supported
1525
#endif
1526

  
1527
SCOL_GBASE_PLUGIN_EXPORT int SCOLloadGBASE(mmachine m, cbmachine w)
1528
{
1529
    ww = w;
1530
    mm = m;
1531

  
1532
    SCOLinitplugin(w);
1533
    return SCOLinitGlibKeyClass (m);
1534
}
1535

  
1536
SCOL_GBASE_PLUGIN_EXPORT int SCOLfreeGBASE()
1537
{
1538
    GkeyRelease ();
1539
    return 0;
1540
}
1541

  

Also available in: Unified diff