Changeset 1347 for framspy/frams.py
- Timestamp:
- 08/27/25 18:15:39 (2 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
framspy/frams.py
r1345 r1347 27 27 import ctypes, re, sys, os 28 28 29 c_api = None # will be initialized in init(). Global because ExtValue uses it.29 c_api = None # will be initialized in init(). This variable is global because all ExtValue objects use it extensively. 30 30 31 31 … … 320 320 Similarly '-dPATH' and '-DPATH' needed by Framsticks are optional and derived from the first path, unless they are specified as args in init(). 321 321 '-LNAME' is the optional library name (full name including the file name extension), default is 'frams-objects.dll/.so/.dylib' depending on the platform. 322 All other arguments are passed to Framsticks and not interpreted by this function.322 All other arguments are passed to Framsticks and are not interpreted by this function. 323 323 """ 324 324 … … 359 359 initargs.append(a) 360 360 if lib_path is None: 361 # TODO: use environment variable and/or the zip distribution we are in when the path is not specified in arg 362 # for now just assume the current dir is Framsticks361 # TODO: use environment variable and/or the zip distribution we are in when the path is not specified in arg. 362 # For now, just assume the current dir is Framsticks. 363 363 lib_path = '.' 364 364 … … 378 378 initargs.insert(0, frams_d) 379 379 initargs.insert(0, frams_D) 380 initargs.insert(0, 'dummy.exe') # as an offset, 0th arg is by convention app name380 initargs.insert(0, 'dummy.exe') # as an offset, 0th arg is by convention the app name 381 381 382 382 global c_api # access global variable
Note: See TracChangeset
for help on using the changeset viewer.