lib/ljm-ffi.js
function parseAndStoreSyncFunctionArgs(functionInfo, funcArgs, saveObj) {
    functionInfo.requiredArgTypes.forEach(function(type, i) {
        var buf = funcArgs[i];
        var parsedVal = ljTypeOps[type].parse(buf);
        var argName = functionInfo.requiredArgNames[i];
        saveObj[argName] = parsedVal;
    });
}
function parseAndStoreSyncFunctionArgs(functionInfo, funcArgs, saveObj) {
    functionInfo.requiredArgTypes.forEach(function(type, i) {
        var buf = funcArgs[i];
        var parsedVal = ljTypeOps[type].parse(buf);
        var argName = functionInfo.requiredArgNames[i];
        saveObj[argName] = parsedVal;
    });
}
function parseAndStoreSyncFunctionArgs ( functionInfo , funcArgs , saveObj ) { functionInfo . requiredArgTypes . forEach ( function ( type , i ) { var buf = funcArgs [ i ] ; var parsedVal = ljTypeOps [ type ] . parse ( buf ) ; var argName = functionInfo . requiredArgNames [ i ] ; saveObj [ argName ] = parsedVal ; } ) ; }
Define a function that is used to parse the values altered by LJM through the ffi library & save them to a return-object.
Define a function that is used to parse the values altered by LJM through the ffi library & save them to a return - object .