code: function allocateAndFillSyncFunctionArgs(functionInfo, funcArgs, userArgs) {
      functionInfo.requiredArgTypes.forEach(function(type, i) {
          var buf = ljTypeOps[type].allocate(userArgs[i]);
          buf = ljTypeOps[type].fill(buf, userArgs[i]);
          funcArgs.push(buf);
      });
  }
docs: Define a function that is used to allocate and fill buffers to communicate with the LJM library through ffi.