We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50ec8d9 commit 30ee285Copy full SHA for 30ee285
libnvme/libnvme/nvme.i
@@ -1268,3 +1268,12 @@ PyObject *nbft_get(const char * filename);
1268
%rename($ignore, %$isvariable) ""; // ignore all variables
1269
1270
%include "../src/nvme/types.h"
1271
+
1272
1273
+%pythoncode %{
1274
+# Definitions for backward compatibility between libnvme 1.x and 3.x (there is no 2.x)
1275
+# Some terms (class/variable names) were changed and this allows running older python
1276
+# code written for libnvme 1.x with libnvme 3.x (and possibly later).
1277
+NVME_LOG_LID_DISCOVER = _nvme.NVME_LOG_LID_DISCOVERY
1278
+root = global_ctx
1279
+%}
0 commit comments