/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to pcilib/py.c

  • Committer: Vasilii Chernov
  • Date: 2016-02-11 13:24:01 UTC
  • mto: This revision was merged to the branch mainline in revision 353.
  • Revision ID: vchernov@inr.ru-20160211132401-w37eyhdwxj87vvmv
Change no_set_check parameter name. Move Python wrap to separate directory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
293
293
        char* pcipywrap_path;
294
294
        if(app_dir)
295
295
        {
296
 
                pcipywrap_path = malloc(strlen(app_dir) + strlen("/pcilib"));
 
296
                pcipywrap_path = malloc(strlen(app_dir) + strlen("/pywrap"));
297
297
                if (!pcipywrap_path) return PCILIB_ERROR_MEMORY;
298
 
                sprintf(pcipywrap_path, "%s/%s", "/pcilib", ctx->model);
 
298
                sprintf(pcipywrap_path, "%s/%s", "/pywrap", ctx->model);
299
299
        }
300
300
        else
301
301
        {
302
 
                pcipywrap_path = malloc(strlen("./pcilib"));
 
302
                pcipywrap_path = malloc(strlen("./pywrap"));
303
303
                if (!pcipywrap_path) return PCILIB_ERROR_MEMORY;
304
 
                sprintf(pcipywrap_path, "%s", "./pcilib");
 
304
                sprintf(pcipywrap_path, "%s", "./pywrap");
305
305
 
306
306
        }
307
307