objective-lol 0.0.1__cp39-cp39-macosx_11_0_arm64.whl → 0.0.2__cp39-cp39-macosx_11_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
objective_lol/api.c CHANGED
@@ -3247,57 +3247,57 @@ PyObject * _wrap__api_Map_string_api_GoValue_keys(PyObject * PYBINDGEN_UNUSED(du
3247
3247
 
3248
3248
 
3249
3249
  PyObject *
3250
- _wrap__api_api_ClassVariable_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
3250
+ _wrap__api_api_VMConfig_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
3251
3251
  {
3252
3252
  PyObject *py_retval;
3253
3253
  int64_t retval;
3254
3254
 
3255
- retval = api_ClassVariable_CTor();
3255
+ retval = api_VMConfig_CTor();
3256
3256
  py_retval = Py_BuildValue((char *) "L", retval);
3257
3257
  return py_retval;
3258
3258
  }
3259
- PyObject * _wrap__api_api_ClassVariable_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
3259
+ PyObject * _wrap__api_api_VMConfig_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
3260
3260
 
3261
3261
 
3262
3262
  PyObject *
3263
- _wrap__api_api_ClassVariable_Name_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3263
+ _wrap__api_api_VMConfig_Stdout_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3264
3264
  {
3265
3265
  PyObject *py_retval;
3266
- char *retval;
3266
+ int64_t retval;
3267
3267
  int64_t handle;
3268
3268
  const char *keywords[] = {"handle", NULL};
3269
3269
 
3270
3270
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
3271
3271
  return NULL;
3272
3272
  }
3273
- retval = api_ClassVariable_Name_Get(handle);
3274
- py_retval = Py_BuildValue((char *) "s", retval);
3273
+ retval = api_VMConfig_Stdout_Get(handle);
3274
+ py_retval = Py_BuildValue((char *) "L", retval);
3275
3275
  return py_retval;
3276
3276
  }
3277
- PyObject * _wrap__api_api_ClassVariable_Name_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3277
+ PyObject * _wrap__api_api_VMConfig_Stdout_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3278
3278
 
3279
3279
 
3280
3280
  PyObject *
3281
- _wrap__api_api_ClassVariable_Name_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3281
+ _wrap__api_api_VMConfig_Stdout_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3282
3282
  {
3283
3283
  PyObject *py_retval;
3284
3284
  int64_t handle;
3285
- char *val;
3285
+ int64_t val;
3286
3286
  const char *keywords[] = {"handle", "val", NULL};
3287
3287
 
3288
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
3288
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
3289
3289
  return NULL;
3290
3290
  }
3291
- api_ClassVariable_Name_Set(handle, val);
3291
+ api_VMConfig_Stdout_Set(handle, val);
3292
3292
  Py_INCREF(Py_None);
3293
3293
  py_retval = Py_None;
3294
3294
  return py_retval;
3295
3295
  }
3296
- PyObject * _wrap__api_api_ClassVariable_Name_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3296
+ PyObject * _wrap__api_api_VMConfig_Stdout_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3297
3297
 
3298
3298
 
3299
3299
  PyObject *
3300
- _wrap__api_api_ClassVariable_Value_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3300
+ _wrap__api_api_VMConfig_Stdin_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3301
3301
  {
3302
3302
  PyObject *py_retval;
3303
3303
  int64_t retval;
@@ -3307,15 +3307,15 @@ _wrap__api_api_ClassVariable_Value_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObj
3307
3307
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
3308
3308
  return NULL;
3309
3309
  }
3310
- retval = api_ClassVariable_Value_Get(handle);
3310
+ retval = api_VMConfig_Stdin_Get(handle);
3311
3311
  py_retval = Py_BuildValue((char *) "L", retval);
3312
3312
  return py_retval;
3313
3313
  }
3314
- PyObject * _wrap__api_api_ClassVariable_Value_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3314
+ PyObject * _wrap__api_api_VMConfig_Stdin_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3315
3315
 
3316
3316
 
3317
3317
  PyObject *
3318
- _wrap__api_api_ClassVariable_Value_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3318
+ _wrap__api_api_VMConfig_Stdin_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3319
3319
  {
3320
3320
  PyObject *py_retval;
3321
3321
  int64_t handle;
@@ -3325,68 +3325,124 @@ _wrap__api_api_ClassVariable_Value_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObj
3325
3325
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
3326
3326
  return NULL;
3327
3327
  }
3328
- api_ClassVariable_Value_Set(handle, val);
3328
+ api_VMConfig_Stdin_Set(handle, val);
3329
3329
  Py_INCREF(Py_None);
3330
3330
  py_retval = Py_None;
3331
3331
  return py_retval;
3332
3332
  }
3333
- PyObject * _wrap__api_api_ClassVariable_Value_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3333
+ PyObject * _wrap__api_api_VMConfig_Stdin_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3334
3334
 
3335
3335
 
3336
3336
  PyObject *
3337
- _wrap__api_api_ClassVariable_Locked_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3337
+ _wrap__api_api_VMConfig_Timeout_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3338
3338
  {
3339
3339
  PyObject *py_retval;
3340
- bool retval;
3340
+ int64_t retval;
3341
3341
  int64_t handle;
3342
3342
  const char *keywords[] = {"handle", NULL};
3343
3343
 
3344
3344
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
3345
3345
  return NULL;
3346
3346
  }
3347
- retval = api_ClassVariable_Locked_Get(handle);
3348
- py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
3347
+ retval = api_VMConfig_Timeout_Get(handle);
3348
+ py_retval = Py_BuildValue((char *) "L", retval);
3349
3349
  return py_retval;
3350
3350
  }
3351
- PyObject * _wrap__api_api_ClassVariable_Locked_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3351
+ PyObject * _wrap__api_api_VMConfig_Timeout_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3352
3352
 
3353
3353
 
3354
3354
  PyObject *
3355
- _wrap__api_api_ClassVariable_Locked_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3355
+ _wrap__api_api_VMConfig_Timeout_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3356
3356
  {
3357
3357
  PyObject *py_retval;
3358
3358
  int64_t handle;
3359
- bool val;
3360
- PyObject *py_val;
3359
+ int64_t val;
3361
3360
  const char *keywords[] = {"handle", "val", NULL};
3362
3361
 
3363
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LO", (char **) keywords, &handle, &py_val)) {
3362
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
3364
3363
  return NULL;
3365
3364
  }
3366
- val = (bool) PyObject_IsTrue(py_val);
3367
- api_ClassVariable_Locked_Set(handle, val);
3365
+ api_VMConfig_Timeout_Set(handle, val);
3368
3366
  Py_INCREF(Py_None);
3369
3367
  py_retval = Py_None;
3370
3368
  return py_retval;
3371
3369
  }
3372
- PyObject * _wrap__api_api_ClassVariable_Locked_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3370
+ PyObject * _wrap__api_api_VMConfig_Timeout_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3373
3371
 
3374
3372
 
3375
3373
  PyObject *
3376
- _wrap__api_api_SourceLocation_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
3374
+ _wrap__api_api_VMConfig_WorkingDirectory_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3375
+ {
3376
+ PyObject *py_retval;
3377
+ char *retval;
3378
+ int64_t handle;
3379
+ const char *keywords[] = {"handle", NULL};
3380
+
3381
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
3382
+ return NULL;
3383
+ }
3384
+ retval = api_VMConfig_WorkingDirectory_Get(handle);
3385
+ py_retval = Py_BuildValue((char *) "s", retval);
3386
+ return py_retval;
3387
+ }
3388
+ PyObject * _wrap__api_api_VMConfig_WorkingDirectory_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3389
+
3390
+
3391
+ PyObject *
3392
+ _wrap__api_api_VMConfig_WorkingDirectory_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3393
+ {
3394
+ PyObject *py_retval;
3395
+ int64_t handle;
3396
+ char *val;
3397
+ const char *keywords[] = {"handle", "val", NULL};
3398
+
3399
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
3400
+ return NULL;
3401
+ }
3402
+ api_VMConfig_WorkingDirectory_Set(handle, val);
3403
+ Py_INCREF(Py_None);
3404
+ py_retval = Py_None;
3405
+ return py_retval;
3406
+ }
3407
+ PyObject * _wrap__api_api_VMConfig_WorkingDirectory_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3408
+
3409
+
3410
+ PyObject *
3411
+ _wrap__api_api_VMConfig_Validate(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3412
+ {
3413
+ PyObject *py_retval;
3414
+ char *retval;
3415
+ int64_t _handle;
3416
+ const char *keywords[] = {"_handle", NULL};
3417
+
3418
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3419
+ return NULL;
3420
+ }
3421
+ retval = api_VMConfig_Validate(_handle);
3422
+ if (PyErr_Occurred()) {
3423
+ return NULL;
3424
+ }
3425
+ py_retval = Py_BuildValue((char *) "s", retval);
3426
+ return py_retval;
3427
+ }
3428
+ PyObject * _wrap__api_api_VMConfig_Validate(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3429
+
3430
+
3431
+ PyObject *
3432
+ _wrap__api_api_VMError_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
3377
3433
  {
3378
3434
  PyObject *py_retval;
3379
3435
  int64_t retval;
3380
3436
 
3381
- retval = api_SourceLocation_CTor();
3437
+ retval = api_VMError_CTor();
3382
3438
  py_retval = Py_BuildValue((char *) "L", retval);
3383
3439
  return py_retval;
3384
3440
  }
3385
- PyObject * _wrap__api_api_SourceLocation_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
3441
+ PyObject * _wrap__api_api_VMError_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
3386
3442
 
3387
3443
 
3388
3444
  PyObject *
3389
- _wrap__api_api_SourceLocation_Filename_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3445
+ _wrap__api_api_VMError_Type_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3390
3446
  {
3391
3447
  PyObject *py_retval;
3392
3448
  char *retval;
@@ -3396,15 +3452,15 @@ _wrap__api_api_SourceLocation_Filename_Get(PyObject * PYBINDGEN_UNUSED(dummy), P
3396
3452
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
3397
3453
  return NULL;
3398
3454
  }
3399
- retval = api_SourceLocation_Filename_Get(handle);
3455
+ retval = api_VMError_Type_Get(handle);
3400
3456
  py_retval = Py_BuildValue((char *) "s", retval);
3401
3457
  return py_retval;
3402
3458
  }
3403
- PyObject * _wrap__api_api_SourceLocation_Filename_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3459
+ PyObject * _wrap__api_api_VMError_Type_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3404
3460
 
3405
3461
 
3406
3462
  PyObject *
3407
- _wrap__api_api_SourceLocation_Filename_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3463
+ _wrap__api_api_VMError_Type_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3408
3464
  {
3409
3465
  PyObject *py_retval;
3410
3466
  int64_t handle;
@@ -3414,53 +3470,53 @@ _wrap__api_api_SourceLocation_Filename_Set(PyObject * PYBINDGEN_UNUSED(dummy), P
3414
3470
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
3415
3471
  return NULL;
3416
3472
  }
3417
- api_SourceLocation_Filename_Set(handle, val);
3473
+ api_VMError_Type_Set(handle, val);
3418
3474
  Py_INCREF(Py_None);
3419
3475
  py_retval = Py_None;
3420
3476
  return py_retval;
3421
3477
  }
3422
- PyObject * _wrap__api_api_SourceLocation_Filename_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3478
+ PyObject * _wrap__api_api_VMError_Type_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3423
3479
 
3424
3480
 
3425
3481
  PyObject *
3426
- _wrap__api_api_SourceLocation_Line_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3482
+ _wrap__api_api_VMError_Message_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3427
3483
  {
3428
3484
  PyObject *py_retval;
3429
- int64_t retval;
3485
+ char *retval;
3430
3486
  int64_t handle;
3431
3487
  const char *keywords[] = {"handle", NULL};
3432
3488
 
3433
3489
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
3434
3490
  return NULL;
3435
3491
  }
3436
- retval = api_SourceLocation_Line_Get(handle);
3437
- py_retval = Py_BuildValue((char *) "L", retval);
3492
+ retval = api_VMError_Message_Get(handle);
3493
+ py_retval = Py_BuildValue((char *) "s", retval);
3438
3494
  return py_retval;
3439
3495
  }
3440
- PyObject * _wrap__api_api_SourceLocation_Line_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3496
+ PyObject * _wrap__api_api_VMError_Message_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3441
3497
 
3442
3498
 
3443
3499
  PyObject *
3444
- _wrap__api_api_SourceLocation_Line_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3500
+ _wrap__api_api_VMError_Message_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3445
3501
  {
3446
3502
  PyObject *py_retval;
3447
3503
  int64_t handle;
3448
- int64_t val;
3504
+ char *val;
3449
3505
  const char *keywords[] = {"handle", "val", NULL};
3450
3506
 
3451
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
3507
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
3452
3508
  return NULL;
3453
3509
  }
3454
- api_SourceLocation_Line_Set(handle, val);
3510
+ api_VMError_Message_Set(handle, val);
3455
3511
  Py_INCREF(Py_None);
3456
3512
  py_retval = Py_None;
3457
3513
  return py_retval;
3458
3514
  }
3459
- PyObject * _wrap__api_api_SourceLocation_Line_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3515
+ PyObject * _wrap__api_api_VMError_Message_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3460
3516
 
3461
3517
 
3462
3518
  PyObject *
3463
- _wrap__api_api_SourceLocation_Column_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3519
+ _wrap__api_api_VMError_Source_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3464
3520
  {
3465
3521
  PyObject *py_retval;
3466
3522
  int64_t retval;
@@ -3470,15 +3526,15 @@ _wrap__api_api_SourceLocation_Column_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyO
3470
3526
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
3471
3527
  return NULL;
3472
3528
  }
3473
- retval = api_SourceLocation_Column_Get(handle);
3529
+ retval = api_VMError_Source_Get(handle);
3474
3530
  py_retval = Py_BuildValue((char *) "L", retval);
3475
3531
  return py_retval;
3476
3532
  }
3477
- PyObject * _wrap__api_api_SourceLocation_Column_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3533
+ PyObject * _wrap__api_api_VMError_Source_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3478
3534
 
3479
3535
 
3480
3536
  PyObject *
3481
- _wrap__api_api_SourceLocation_Column_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3537
+ _wrap__api_api_VMError_Source_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3482
3538
  {
3483
3539
  PyObject *py_retval;
3484
3540
  int64_t handle;
@@ -3488,278 +3544,198 @@ _wrap__api_api_SourceLocation_Column_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyO
3488
3544
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
3489
3545
  return NULL;
3490
3546
  }
3491
- api_SourceLocation_Column_Set(handle, val);
3547
+ api_VMError_Source_Set(handle, val);
3492
3548
  Py_INCREF(Py_None);
3493
3549
  py_retval = Py_None;
3494
3550
  return py_retval;
3495
3551
  }
3496
- PyObject * _wrap__api_api_SourceLocation_Column_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3552
+ PyObject * _wrap__api_api_VMError_Source_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3497
3553
 
3498
3554
 
3499
3555
  PyObject *
3500
- _wrap__api_api_VMCompatibilityShim_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
3556
+ _wrap__api_api_VMError_Duration_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3501
3557
  {
3502
3558
  PyObject *py_retval;
3503
3559
  int64_t retval;
3560
+ int64_t handle;
3561
+ const char *keywords[] = {"handle", NULL};
3504
3562
 
3505
- retval = api_VMCompatibilityShim_CTor();
3563
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
3564
+ return NULL;
3565
+ }
3566
+ retval = api_VMError_Duration_Get(handle);
3506
3567
  py_retval = Py_BuildValue((char *) "L", retval);
3507
3568
  return py_retval;
3508
3569
  }
3509
- PyObject * _wrap__api_api_VMCompatibilityShim_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
3570
+ PyObject * _wrap__api_api_VMError_Duration_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3510
3571
 
3511
3572
 
3512
3573
  PyObject *
3513
- _wrap__api_api_VMCompatibilityShim_DefineFunction(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3574
+ _wrap__api_api_VMError_Duration_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3514
3575
  {
3515
3576
  PyObject *py_retval;
3516
- char *retval;
3517
- int64_t _handle;
3518
- char *id;
3519
- char *name;
3520
- int64_t argc;
3521
- PyObject *function;
3522
- const char *keywords[] = {"_handle", "id", "name", "argc", "function", NULL};
3577
+ int64_t handle;
3578
+ int64_t val;
3579
+ const char *keywords[] = {"handle", "val", NULL};
3523
3580
 
3524
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LssLO", (char **) keywords, &_handle, &id, &name, &argc, &function)) {
3525
- return NULL;
3526
- }
3527
- retval = api_VMCompatibilityShim_DefineFunction(_handle, id, name, argc, function);
3528
- if (PyErr_Occurred()) {
3581
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
3529
3582
  return NULL;
3530
3583
  }
3531
- py_retval = Py_BuildValue((char *) "s", retval);
3584
+ api_VMError_Duration_Set(handle, val);
3585
+ Py_INCREF(Py_None);
3586
+ py_retval = Py_None;
3532
3587
  return py_retval;
3533
3588
  }
3534
- PyObject * _wrap__api_api_VMCompatibilityShim_DefineFunction(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3589
+ PyObject * _wrap__api_api_VMError_Duration_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3535
3590
 
3536
3591
 
3537
3592
  PyObject *
3538
- _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithGetter(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3593
+ _wrap__api_api_VMError_Error(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3539
3594
  {
3540
3595
  PyObject *py_retval;
3541
- int64_t retval;
3596
+ char *retval;
3542
3597
  int64_t _handle;
3543
- int64_t variable;
3544
- char *getterID;
3545
- PyObject *getter;
3546
- const char *keywords[] = {"_handle", "variable", "getterID", "getter", NULL};
3598
+ const char *keywords[] = {"_handle", NULL};
3547
3599
 
3548
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLsO", (char **) keywords, &_handle, &variable, &getterID, &getter)) {
3600
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3549
3601
  return NULL;
3550
3602
  }
3551
- retval = api_VMCompatibilityShim_BuildNewClassVariableWithGetter(_handle, variable, getterID, getter);
3603
+ retval = api_VMError_Error(_handle);
3552
3604
  if (PyErr_Occurred()) {
3605
+ if (retval != NULL) free(retval);
3553
3606
  return NULL;
3554
3607
  }
3555
- py_retval = Py_BuildValue((char *) "L", retval);
3608
+ py_retval = Py_BuildValue((char *) "s", retval);
3609
+ free(retval);
3556
3610
  return py_retval;
3557
3611
  }
3558
- PyObject * _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithGetter(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3612
+ PyObject * _wrap__api_api_VMError_Error(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3559
3613
 
3560
3614
 
3561
3615
  PyObject *
3562
- _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithSetter(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3616
+ _wrap__api_api_VMError_Unwrap(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3563
3617
  {
3564
3618
  PyObject *py_retval;
3565
- int64_t retval;
3619
+ char *retval;
3566
3620
  int64_t _handle;
3567
- int64_t variable;
3568
- char *setterID;
3569
- PyObject *setter;
3570
- const char *keywords[] = {"_handle", "variable", "setterID", "setter", NULL};
3621
+ const char *keywords[] = {"_handle", NULL};
3571
3622
 
3572
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLsO", (char **) keywords, &_handle, &variable, &setterID, &setter)) {
3623
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3573
3624
  return NULL;
3574
3625
  }
3575
- retval = api_VMCompatibilityShim_BuildNewClassVariableWithSetter(_handle, variable, setterID, setter);
3626
+ retval = api_VMError_Unwrap(_handle);
3576
3627
  if (PyErr_Occurred()) {
3577
3628
  return NULL;
3578
3629
  }
3579
- py_retval = Py_BuildValue((char *) "L", retval);
3630
+ py_retval = Py_BuildValue((char *) "s", retval);
3580
3631
  return py_retval;
3581
3632
  }
3582
- PyObject * _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithSetter(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3633
+ PyObject * _wrap__api_api_VMError_Unwrap(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3583
3634
 
3584
3635
 
3585
3636
  PyObject *
3586
- _wrap__api_api_VMCompatibilityShim_BuildNewClassMethod(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3637
+ _wrap__api_api_VMError_IsCompileError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3587
3638
  {
3588
3639
  PyObject *py_retval;
3589
- int64_t retval;
3640
+ bool retval;
3590
3641
  int64_t _handle;
3591
- int64_t method;
3592
- char *id;
3593
- PyObject *function;
3594
- const char *keywords[] = {"_handle", "method", "id", "function", NULL};
3642
+ const char *keywords[] = {"_handle", NULL};
3595
3643
 
3596
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLsO", (char **) keywords, &_handle, &method, &id, &function)) {
3644
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3597
3645
  return NULL;
3598
3646
  }
3599
- retval = api_VMCompatibilityShim_BuildNewClassMethod(_handle, method, id, function);
3647
+ retval = api_VMError_IsCompileError(_handle);
3600
3648
  if (PyErr_Occurred()) {
3601
3649
  return NULL;
3602
3650
  }
3603
- py_retval = Py_BuildValue((char *) "L", retval);
3651
+ py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
3604
3652
  return py_retval;
3605
3653
  }
3606
- PyObject * _wrap__api_api_VMCompatibilityShim_BuildNewClassMethod(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3654
+ PyObject * _wrap__api_api_VMError_IsCompileError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3607
3655
 
3608
3656
 
3609
3657
  PyObject *
3610
- _wrap__api_api_VMCompatibilityShim_BuildNewUnknownFunctionHandler(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3611
- {
3612
- PyObject *py_retval;
3613
- int64_t retval;
3614
- int64_t _handle;
3615
- char *id;
3616
- PyObject *function;
3617
- const char *keywords[] = {"_handle", "id", "function", NULL};
3618
-
3619
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsO", (char **) keywords, &_handle, &id, &function)) {
3620
- return NULL;
3621
- }
3622
- retval = api_VMCompatibilityShim_BuildNewUnknownFunctionHandler(_handle, id, function);
3623
- if (PyErr_Occurred()) {
3624
- return NULL;
3625
- }
3626
- py_retval = Py_BuildValue((char *) "L", retval);
3627
- return py_retval;
3628
- }
3629
- PyObject * _wrap__api_api_VMCompatibilityShim_BuildNewUnknownFunctionHandler(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3630
-
3631
-
3632
- PyObject *
3633
- _wrap__api_api_VMCompatibilityShim_IsClassDefined(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3658
+ _wrap__api_api_VMError_IsRuntimeError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3634
3659
  {
3635
3660
  PyObject *py_retval;
3636
3661
  bool retval;
3637
3662
  int64_t _handle;
3638
- char *name;
3639
- const char *keywords[] = {"_handle", "name", NULL};
3663
+ const char *keywords[] = {"_handle", NULL};
3640
3664
 
3641
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &name)) {
3665
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3642
3666
  return NULL;
3643
3667
  }
3644
- retval = api_VMCompatibilityShim_IsClassDefined(_handle, name);
3668
+ retval = api_VMError_IsRuntimeError(_handle);
3645
3669
  if (PyErr_Occurred()) {
3646
3670
  return NULL;
3647
3671
  }
3648
3672
  py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
3649
3673
  return py_retval;
3650
3674
  }
3651
- PyObject * _wrap__api_api_VMCompatibilityShim_IsClassDefined(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3652
-
3653
-
3654
- PyObject *
3655
- _wrap__api_api_VMCompatibilityShim_LookupObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3656
- {
3657
- PyObject *py_retval;
3658
- int64_t retval;
3659
- int64_t _handle;
3660
- char *id;
3661
- const char *keywords[] = {"_handle", "id", NULL};
3662
-
3663
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &id)) {
3664
- return NULL;
3665
- }
3666
- retval = api_VMCompatibilityShim_LookupObject(_handle, id);
3667
- if (PyErr_Occurred()) {
3668
- return NULL;
3669
- }
3670
- py_retval = Py_BuildValue((char *) "L", retval);
3671
- return py_retval;
3672
- }
3673
- PyObject * _wrap__api_api_VMCompatibilityShim_LookupObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3674
-
3675
-
3676
- PyObject *
3677
- _wrap__api_api_VMCompatibilityShim_GetObjectMRO(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3678
- {
3679
- PyObject *py_retval;
3680
- int64_t retval;
3681
- int64_t _handle;
3682
- char *id;
3683
- const char *keywords[] = {"_handle", "id", NULL};
3684
-
3685
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &id)) {
3686
- return NULL;
3687
- }
3688
- retval = api_VMCompatibilityShim_GetObjectMRO(_handle, id);
3689
- if (PyErr_Occurred()) {
3690
- return NULL;
3691
- }
3692
- py_retval = Py_BuildValue((char *) "L", retval);
3693
- return py_retval;
3694
- }
3695
- PyObject * _wrap__api_api_VMCompatibilityShim_GetObjectMRO(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3675
+ PyObject * _wrap__api_api_VMError_IsRuntimeError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3696
3676
 
3697
3677
 
3698
3678
  PyObject *
3699
- _wrap__api_api_VMCompatibilityShim_GetObjectImmediateFunctions(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3679
+ _wrap__api_api_VMError_IsTimeoutError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3700
3680
  {
3701
3681
  PyObject *py_retval;
3702
- int64_t retval;
3682
+ bool retval;
3703
3683
  int64_t _handle;
3704
- char *id;
3705
- const char *keywords[] = {"_handle", "id", NULL};
3684
+ const char *keywords[] = {"_handle", NULL};
3706
3685
 
3707
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &id)) {
3686
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3708
3687
  return NULL;
3709
3688
  }
3710
- retval = api_VMCompatibilityShim_GetObjectImmediateFunctions(_handle, id);
3689
+ retval = api_VMError_IsTimeoutError(_handle);
3711
3690
  if (PyErr_Occurred()) {
3712
3691
  return NULL;
3713
3692
  }
3714
- py_retval = Py_BuildValue((char *) "L", retval);
3693
+ py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
3715
3694
  return py_retval;
3716
3695
  }
3717
- PyObject * _wrap__api_api_VMCompatibilityShim_GetObjectImmediateFunctions(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3696
+ PyObject * _wrap__api_api_VMError_IsTimeoutError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3718
3697
 
3719
3698
 
3720
3699
  PyObject *
3721
- _wrap__api_api_VMCompatibilityShim_GetObjectImmediateVariables(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3700
+ _wrap__api_api_VMError_IsConversionError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3722
3701
  {
3723
3702
  PyObject *py_retval;
3724
- int64_t retval;
3703
+ bool retval;
3725
3704
  int64_t _handle;
3726
- char *id;
3727
- const char *keywords[] = {"_handle", "id", NULL};
3705
+ const char *keywords[] = {"_handle", NULL};
3728
3706
 
3729
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &id)) {
3707
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3730
3708
  return NULL;
3731
3709
  }
3732
- retval = api_VMCompatibilityShim_GetObjectImmediateVariables(_handle, id);
3710
+ retval = api_VMError_IsConversionError(_handle);
3733
3711
  if (PyErr_Occurred()) {
3734
3712
  return NULL;
3735
3713
  }
3736
- py_retval = Py_BuildValue((char *) "L", retval);
3714
+ py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
3737
3715
  return py_retval;
3738
3716
  }
3739
- PyObject * _wrap__api_api_VMCompatibilityShim_GetObjectImmediateVariables(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3717
+ PyObject * _wrap__api_api_VMError_IsConversionError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3740
3718
 
3741
3719
 
3742
3720
  PyObject *
3743
- _wrap__api_api_VMCompatibilityShim_AddVariableToObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3721
+ _wrap__api_api_VMError_IsConfigError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3744
3722
  {
3745
3723
  PyObject *py_retval;
3746
- char *retval;
3724
+ bool retval;
3747
3725
  int64_t _handle;
3748
- char *id;
3749
- int64_t variable;
3750
- const char *keywords[] = {"_handle", "id", "variable", NULL};
3726
+ const char *keywords[] = {"_handle", NULL};
3751
3727
 
3752
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsL", (char **) keywords, &_handle, &id, &variable)) {
3728
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3753
3729
  return NULL;
3754
3730
  }
3755
- retval = api_VMCompatibilityShim_AddVariableToObject(_handle, id, variable);
3731
+ retval = api_VMError_IsConfigError(_handle);
3756
3732
  if (PyErr_Occurred()) {
3757
3733
  return NULL;
3758
3734
  }
3759
- py_retval = Py_BuildValue((char *) "s", retval);
3735
+ py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
3760
3736
  return py_retval;
3761
3737
  }
3762
- PyObject * _wrap__api_api_VMCompatibilityShim_AddVariableToObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3738
+ PyObject * _wrap__api_api_VMError_IsConfigError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3763
3739
 
3764
3740
 
3765
3741
  PyObject *
@@ -4035,20 +4011,20 @@ PyObject * _wrap__api_api_ClassDefinition_UnknownFunctionHandler_Set(PyObject *
4035
4011
 
4036
4012
 
4037
4013
  PyObject *
4038
- _wrap__api_api_ClassMethod_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4014
+ _wrap__api_api_ClassVariable_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4039
4015
  {
4040
4016
  PyObject *py_retval;
4041
4017
  int64_t retval;
4042
4018
 
4043
- retval = api_ClassMethod_CTor();
4019
+ retval = api_ClassVariable_CTor();
4044
4020
  py_retval = Py_BuildValue((char *) "L", retval);
4045
4021
  return py_retval;
4046
4022
  }
4047
- PyObject * _wrap__api_api_ClassMethod_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4023
+ PyObject * _wrap__api_api_ClassVariable_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4048
4024
 
4049
4025
 
4050
4026
  PyObject *
4051
- _wrap__api_api_ClassMethod_Name_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4027
+ _wrap__api_api_ClassVariable_Name_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4052
4028
  {
4053
4029
  PyObject *py_retval;
4054
4030
  char *retval;
@@ -4058,15 +4034,15 @@ _wrap__api_api_ClassMethod_Name_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject
4058
4034
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4059
4035
  return NULL;
4060
4036
  }
4061
- retval = api_ClassMethod_Name_Get(handle);
4037
+ retval = api_ClassVariable_Name_Get(handle);
4062
4038
  py_retval = Py_BuildValue((char *) "s", retval);
4063
4039
  return py_retval;
4064
4040
  }
4065
- PyObject * _wrap__api_api_ClassMethod_Name_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4041
+ PyObject * _wrap__api_api_ClassVariable_Name_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4066
4042
 
4067
4043
 
4068
4044
  PyObject *
4069
- _wrap__api_api_ClassMethod_Name_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4045
+ _wrap__api_api_ClassVariable_Name_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4070
4046
  {
4071
4047
  PyObject *py_retval;
4072
4048
  int64_t handle;
@@ -4076,16 +4052,16 @@ _wrap__api_api_ClassMethod_Name_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject
4076
4052
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
4077
4053
  return NULL;
4078
4054
  }
4079
- api_ClassMethod_Name_Set(handle, val);
4055
+ api_ClassVariable_Name_Set(handle, val);
4080
4056
  Py_INCREF(Py_None);
4081
4057
  py_retval = Py_None;
4082
4058
  return py_retval;
4083
4059
  }
4084
- PyObject * _wrap__api_api_ClassMethod_Name_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4060
+ PyObject * _wrap__api_api_ClassVariable_Name_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4085
4061
 
4086
4062
 
4087
4063
  PyObject *
4088
- _wrap__api_api_ClassMethod_Argc_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4064
+ _wrap__api_api_ClassVariable_Value_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4089
4065
  {
4090
4066
  PyObject *py_retval;
4091
4067
  int64_t retval;
@@ -4095,15 +4071,15 @@ _wrap__api_api_ClassMethod_Argc_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject
4095
4071
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4096
4072
  return NULL;
4097
4073
  }
4098
- retval = api_ClassMethod_Argc_Get(handle);
4074
+ retval = api_ClassVariable_Value_Get(handle);
4099
4075
  py_retval = Py_BuildValue((char *) "L", retval);
4100
4076
  return py_retval;
4101
4077
  }
4102
- PyObject * _wrap__api_api_ClassMethod_Argc_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4078
+ PyObject * _wrap__api_api_ClassVariable_Value_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4103
4079
 
4104
4080
 
4105
4081
  PyObject *
4106
- _wrap__api_api_ClassMethod_Argc_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4082
+ _wrap__api_api_ClassVariable_Value_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4107
4083
  {
4108
4084
  PyObject *py_retval;
4109
4085
  int64_t handle;
@@ -4113,320 +4089,334 @@ _wrap__api_api_ClassMethod_Argc_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject
4113
4089
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4114
4090
  return NULL;
4115
4091
  }
4116
- api_ClassMethod_Argc_Set(handle, val);
4092
+ api_ClassVariable_Value_Set(handle, val);
4117
4093
  Py_INCREF(Py_None);
4118
4094
  py_retval = Py_None;
4119
4095
  return py_retval;
4120
4096
  }
4121
- PyObject * _wrap__api_api_ClassMethod_Argc_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4097
+ PyObject * _wrap__api_api_ClassVariable_Value_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4122
4098
 
4123
4099
 
4124
4100
  PyObject *
4125
- _wrap__api_api_UnknownFunctionHandler_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4101
+ _wrap__api_api_ClassVariable_Locked_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4126
4102
  {
4127
4103
  PyObject *py_retval;
4128
- int64_t retval;
4104
+ bool retval;
4105
+ int64_t handle;
4106
+ const char *keywords[] = {"handle", NULL};
4129
4107
 
4130
- retval = api_UnknownFunctionHandler_CTor();
4131
- py_retval = Py_BuildValue((char *) "L", retval);
4108
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4109
+ return NULL;
4110
+ }
4111
+ retval = api_ClassVariable_Locked_Get(handle);
4112
+ py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4132
4113
  return py_retval;
4133
4114
  }
4134
- PyObject * _wrap__api_api_UnknownFunctionHandler_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4115
+ PyObject * _wrap__api_api_ClassVariable_Locked_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4135
4116
 
4136
4117
 
4137
4118
  PyObject *
4138
- _wrap__api_api_VM_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4119
+ _wrap__api_api_ClassVariable_Locked_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4120
+ {
4121
+ PyObject *py_retval;
4122
+ int64_t handle;
4123
+ bool val;
4124
+ PyObject *py_val;
4125
+ const char *keywords[] = {"handle", "val", NULL};
4126
+
4127
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LO", (char **) keywords, &handle, &py_val)) {
4128
+ return NULL;
4129
+ }
4130
+ val = (bool) PyObject_IsTrue(py_val);
4131
+ api_ClassVariable_Locked_Set(handle, val);
4132
+ Py_INCREF(Py_None);
4133
+ py_retval = Py_None;
4134
+ return py_retval;
4135
+ }
4136
+ PyObject * _wrap__api_api_ClassVariable_Locked_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4137
+
4138
+
4139
+ PyObject *
4140
+ _wrap__api_api_GoValue_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4139
4141
  {
4140
4142
  PyObject *py_retval;
4141
4143
  int64_t retval;
4142
4144
 
4143
- retval = api_VM_CTor();
4145
+ retval = api_GoValue_CTor();
4144
4146
  py_retval = Py_BuildValue((char *) "L", retval);
4145
4147
  return py_retval;
4146
4148
  }
4147
- PyObject * _wrap__api_api_VM_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4149
+ PyObject * _wrap__api_api_GoValue_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4148
4150
 
4149
4151
 
4150
4152
  PyObject *
4151
- _wrap__api_api_VM_GetCompatibilityShim(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4153
+ _wrap__api_api_GoValue_ID(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4152
4154
  {
4153
4155
  PyObject *py_retval;
4154
- int64_t retval;
4156
+ char *retval;
4155
4157
  int64_t _handle;
4156
4158
  const char *keywords[] = {"_handle", NULL};
4157
4159
 
4158
4160
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4159
4161
  return NULL;
4160
4162
  }
4161
- retval = api_VM_GetCompatibilityShim(_handle);
4163
+ retval = api_GoValue_ID(_handle);
4162
4164
  if (PyErr_Occurred()) {
4165
+ if (retval != NULL) free(retval);
4163
4166
  return NULL;
4164
4167
  }
4165
- py_retval = Py_BuildValue((char *) "L", retval);
4168
+ py_retval = Py_BuildValue((char *) "s", retval);
4169
+ free(retval);
4166
4170
  return py_retval;
4167
4171
  }
4168
- PyObject * _wrap__api_api_VM_GetCompatibilityShim(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4172
+ PyObject * _wrap__api_api_GoValue_ID(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4169
4173
 
4170
4174
 
4171
4175
  PyObject *
4172
- _wrap__api_api_VM_Execute(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4176
+ _wrap__api_api_GoValue_MarshalJSON(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4173
4177
  {
4174
4178
  PyObject *py_retval;
4175
4179
  int64_t retval;
4176
4180
  int64_t _handle;
4177
- char *code;
4178
- const char *keywords[] = {"_handle", "code", NULL};
4181
+ const char *keywords[] = {"_handle", NULL};
4179
4182
 
4180
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &code)) {
4183
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4181
4184
  return NULL;
4182
4185
  }
4183
- retval = api_VM_Execute(_handle, code);
4186
+ retval = api_GoValue_MarshalJSON(_handle);
4184
4187
  if (PyErr_Occurred()) {
4185
4188
  return NULL;
4186
4189
  }
4187
4190
  py_retval = Py_BuildValue((char *) "L", retval);
4188
4191
  return py_retval;
4189
4192
  }
4190
- PyObject * _wrap__api_api_VM_Execute(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4193
+ PyObject * _wrap__api_api_GoValue_MarshalJSON(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4191
4194
 
4192
4195
 
4193
4196
  PyObject *
4194
- _wrap__api_api_VM_ExecuteWithContext(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4197
+ _wrap__api_api_GoValue_Type(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4195
4198
  {
4196
4199
  PyObject *py_retval;
4197
- int64_t retval;
4200
+ char *retval;
4198
4201
  int64_t _handle;
4199
- int64_t ctx;
4200
- char *code;
4201
- const char *keywords[] = {"_handle", "ctx", "code", NULL};
4202
+ const char *keywords[] = {"_handle", NULL};
4202
4203
 
4203
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLs", (char **) keywords, &_handle, &ctx, &code)) {
4204
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4204
4205
  return NULL;
4205
4206
  }
4206
- retval = api_VM_ExecuteWithContext(_handle, ctx, code);
4207
+ retval = api_GoValue_Type(_handle);
4207
4208
  if (PyErr_Occurred()) {
4209
+ if (retval != NULL) free(retval);
4208
4210
  return NULL;
4209
4211
  }
4210
- py_retval = Py_BuildValue((char *) "L", retval);
4212
+ py_retval = Py_BuildValue((char *) "s", retval);
4213
+ free(retval);
4211
4214
  return py_retval;
4212
4215
  }
4213
- PyObject * _wrap__api_api_VM_ExecuteWithContext(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4216
+ PyObject * _wrap__api_api_GoValue_Type(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4214
4217
 
4215
4218
 
4216
4219
  PyObject *
4217
- _wrap__api_api_VM_NewObjectInstance(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4220
+ _wrap__api_api_GoValue_Int(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4218
4221
  {
4219
4222
  PyObject *py_retval;
4220
4223
  int64_t retval;
4221
4224
  int64_t _handle;
4222
- char *className;
4223
- const char *keywords[] = {"_handle", "className", NULL};
4225
+ const char *keywords[] = {"_handle", NULL};
4224
4226
 
4225
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &className)) {
4227
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4226
4228
  return NULL;
4227
4229
  }
4228
- retval = api_VM_NewObjectInstance(_handle, className);
4230
+ retval = api_GoValue_Int(_handle);
4229
4231
  if (PyErr_Occurred()) {
4230
4232
  return NULL;
4231
4233
  }
4232
4234
  py_retval = Py_BuildValue((char *) "L", retval);
4233
4235
  return py_retval;
4234
4236
  }
4235
- PyObject * _wrap__api_api_VM_NewObjectInstance(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4237
+ PyObject * _wrap__api_api_GoValue_Int(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4236
4238
 
4237
4239
 
4238
4240
  PyObject *
4239
- _wrap__api_api_VM_Call(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4241
+ _wrap__api_api_GoValue_Float(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4240
4242
  {
4241
4243
  PyObject *py_retval;
4242
- int64_t retval;
4244
+ double retval;
4243
4245
  int64_t _handle;
4244
- char *functionName;
4245
- int64_t args2;
4246
- const char *keywords[] = {"_handle", "functionName", "args", NULL};
4246
+ const char *keywords[] = {"_handle", NULL};
4247
4247
 
4248
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsL", (char **) keywords, &_handle, &functionName, &args2)) {
4248
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4249
4249
  return NULL;
4250
4250
  }
4251
- retval = api_VM_Call(_handle, functionName, args2);
4251
+ retval = api_GoValue_Float(_handle);
4252
4252
  if (PyErr_Occurred()) {
4253
4253
  return NULL;
4254
4254
  }
4255
- py_retval = Py_BuildValue((char *) "L", retval);
4255
+ py_retval = Py_BuildValue((char *) "d", retval);
4256
4256
  return py_retval;
4257
4257
  }
4258
- PyObject * _wrap__api_api_VM_Call(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4258
+ PyObject * _wrap__api_api_GoValue_Float(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4259
4259
 
4260
4260
 
4261
4261
  PyObject *
4262
- _wrap__api_api_VM_CallMethod(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4262
+ _wrap__api_api_GoValue_String(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4263
4263
  {
4264
4264
  PyObject *py_retval;
4265
- int64_t retval;
4265
+ char *retval;
4266
4266
  int64_t _handle;
4267
- int64_t object;
4268
- char *methodName;
4269
- int64_t args2;
4270
- const char *keywords[] = {"_handle", "object", "methodName", "args", NULL};
4267
+ const char *keywords[] = {"_handle", NULL};
4271
4268
 
4272
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLsL", (char **) keywords, &_handle, &object, &methodName, &args2)) {
4269
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4273
4270
  return NULL;
4274
4271
  }
4275
- retval = api_VM_CallMethod(_handle, object, methodName, args2);
4272
+ retval = api_GoValue_String(_handle);
4276
4273
  if (PyErr_Occurred()) {
4274
+ if (retval != NULL) free(retval);
4277
4275
  return NULL;
4278
4276
  }
4279
- py_retval = Py_BuildValue((char *) "L", retval);
4277
+ py_retval = Py_BuildValue((char *) "s", retval);
4278
+ free(retval);
4280
4279
  return py_retval;
4281
4280
  }
4282
- PyObject * _wrap__api_api_VM_CallMethod(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4281
+ PyObject * _wrap__api_api_GoValue_String(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4283
4282
 
4284
4283
 
4285
4284
  PyObject *
4286
- _wrap__api_api_VM_DefineVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4285
+ _wrap__api_api_GoValue_Bool(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4287
4286
  {
4288
4287
  PyObject *py_retval;
4289
- char *retval;
4288
+ bool retval;
4290
4289
  int64_t _handle;
4291
- char *name;
4292
- int64_t value;
4293
- bool constant;
4294
- PyObject *py_constant;
4295
- const char *keywords[] = {"_handle", "name", "value", "constant", NULL};
4290
+ const char *keywords[] = {"_handle", NULL};
4296
4291
 
4297
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsLO", (char **) keywords, &_handle, &name, &value, &py_constant)) {
4292
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4298
4293
  return NULL;
4299
4294
  }
4300
- constant = (bool) PyObject_IsTrue(py_constant);
4301
- retval = api_VM_DefineVariable(_handle, name, value, constant);
4295
+ retval = api_GoValue_Bool(_handle);
4302
4296
  if (PyErr_Occurred()) {
4303
4297
  return NULL;
4304
4298
  }
4305
- py_retval = Py_BuildValue((char *) "s", retval);
4299
+ py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4306
4300
  return py_retval;
4307
4301
  }
4308
- PyObject * _wrap__api_api_VM_DefineVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4302
+ PyObject * _wrap__api_api_GoValue_Bool(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4309
4303
 
4310
4304
 
4311
4305
  PyObject *
4312
- _wrap__api_api_VM_SetVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4306
+ _wrap__api_api_GoValue_Slice(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4313
4307
  {
4314
4308
  PyObject *py_retval;
4315
- char *retval;
4309
+ int64_t retval;
4316
4310
  int64_t _handle;
4317
- char *variableName;
4318
- int64_t value;
4319
- const char *keywords[] = {"_handle", "variableName", "value", NULL};
4311
+ const char *keywords[] = {"_handle", NULL};
4320
4312
 
4321
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsL", (char **) keywords, &_handle, &variableName, &value)) {
4313
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4322
4314
  return NULL;
4323
4315
  }
4324
- retval = api_VM_SetVariable(_handle, variableName, value);
4316
+ retval = api_GoValue_Slice(_handle);
4325
4317
  if (PyErr_Occurred()) {
4326
4318
  return NULL;
4327
4319
  }
4328
- py_retval = Py_BuildValue((char *) "s", retval);
4320
+ py_retval = Py_BuildValue((char *) "L", retval);
4329
4321
  return py_retval;
4330
4322
  }
4331
- PyObject * _wrap__api_api_VM_SetVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4323
+ PyObject * _wrap__api_api_GoValue_Slice(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4332
4324
 
4333
4325
 
4334
4326
  PyObject *
4335
- _wrap__api_api_VM_GetVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4327
+ _wrap__api_api_GoValue_Map(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4336
4328
  {
4337
4329
  PyObject *py_retval;
4338
4330
  int64_t retval;
4339
4331
  int64_t _handle;
4340
- char *variableName;
4341
- const char *keywords[] = {"_handle", "variableName", NULL};
4332
+ const char *keywords[] = {"_handle", NULL};
4342
4333
 
4343
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &variableName)) {
4334
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4344
4335
  return NULL;
4345
4336
  }
4346
- retval = api_VM_GetVariable(_handle, variableName);
4337
+ retval = api_GoValue_Map(_handle);
4347
4338
  if (PyErr_Occurred()) {
4348
4339
  return NULL;
4349
4340
  }
4350
4341
  py_retval = Py_BuildValue((char *) "L", retval);
4351
4342
  return py_retval;
4352
4343
  }
4353
- PyObject * _wrap__api_api_VM_GetVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4344
+ PyObject * _wrap__api_api_GoValue_Map(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4354
4345
 
4355
4346
 
4356
4347
  PyObject *
4357
- _wrap__api_api_VM_DefineClass(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4348
+ _wrap__api_api_GoValue_Object(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4358
4349
  {
4359
4350
  PyObject *py_retval;
4360
- char *retval;
4351
+ int64_t retval;
4361
4352
  int64_t _handle;
4362
- int64_t classDef;
4363
- const char *keywords[] = {"_handle", "classDef", NULL};
4353
+ const char *keywords[] = {"_handle", NULL};
4364
4354
 
4365
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &_handle, &classDef)) {
4355
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4366
4356
  return NULL;
4367
4357
  }
4368
- retval = api_VM_DefineClass(_handle, classDef);
4358
+ retval = api_GoValue_Object(_handle);
4369
4359
  if (PyErr_Occurred()) {
4370
4360
  return NULL;
4371
4361
  }
4372
- py_retval = Py_BuildValue((char *) "s", retval);
4362
+ py_retval = Py_BuildValue((char *) "L", retval);
4373
4363
  return py_retval;
4374
4364
  }
4375
- PyObject * _wrap__api_api_VM_DefineClass(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4365
+ PyObject * _wrap__api_api_GoValue_Object(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4376
4366
 
4377
4367
 
4378
4368
  PyObject *
4379
- _wrap__api_api_VMConfig_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4369
+ _wrap__api_api_SourceLocation_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4380
4370
  {
4381
4371
  PyObject *py_retval;
4382
4372
  int64_t retval;
4383
4373
 
4384
- retval = api_VMConfig_CTor();
4374
+ retval = api_SourceLocation_CTor();
4385
4375
  py_retval = Py_BuildValue((char *) "L", retval);
4386
4376
  return py_retval;
4387
4377
  }
4388
- PyObject * _wrap__api_api_VMConfig_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4378
+ PyObject * _wrap__api_api_SourceLocation_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4389
4379
 
4390
4380
 
4391
4381
  PyObject *
4392
- _wrap__api_api_VMConfig_Stdout_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4382
+ _wrap__api_api_SourceLocation_Filename_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4393
4383
  {
4394
4384
  PyObject *py_retval;
4395
- int64_t retval;
4385
+ char *retval;
4396
4386
  int64_t handle;
4397
4387
  const char *keywords[] = {"handle", NULL};
4398
4388
 
4399
4389
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4400
4390
  return NULL;
4401
4391
  }
4402
- retval = api_VMConfig_Stdout_Get(handle);
4403
- py_retval = Py_BuildValue((char *) "L", retval);
4392
+ retval = api_SourceLocation_Filename_Get(handle);
4393
+ py_retval = Py_BuildValue((char *) "s", retval);
4404
4394
  return py_retval;
4405
4395
  }
4406
- PyObject * _wrap__api_api_VMConfig_Stdout_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4396
+ PyObject * _wrap__api_api_SourceLocation_Filename_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4407
4397
 
4408
4398
 
4409
4399
  PyObject *
4410
- _wrap__api_api_VMConfig_Stdout_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4400
+ _wrap__api_api_SourceLocation_Filename_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4411
4401
  {
4412
4402
  PyObject *py_retval;
4413
4403
  int64_t handle;
4414
- int64_t val;
4404
+ char *val;
4415
4405
  const char *keywords[] = {"handle", "val", NULL};
4416
4406
 
4417
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4407
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
4418
4408
  return NULL;
4419
4409
  }
4420
- api_VMConfig_Stdout_Set(handle, val);
4410
+ api_SourceLocation_Filename_Set(handle, val);
4421
4411
  Py_INCREF(Py_None);
4422
4412
  py_retval = Py_None;
4423
4413
  return py_retval;
4424
4414
  }
4425
- PyObject * _wrap__api_api_VMConfig_Stdout_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4415
+ PyObject * _wrap__api_api_SourceLocation_Filename_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4426
4416
 
4427
4417
 
4428
4418
  PyObject *
4429
- _wrap__api_api_VMConfig_Stdin_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4419
+ _wrap__api_api_SourceLocation_Line_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4430
4420
  {
4431
4421
  PyObject *py_retval;
4432
4422
  int64_t retval;
@@ -4436,15 +4426,15 @@ _wrap__api_api_VMConfig_Stdin_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *
4436
4426
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4437
4427
  return NULL;
4438
4428
  }
4439
- retval = api_VMConfig_Stdin_Get(handle);
4429
+ retval = api_SourceLocation_Line_Get(handle);
4440
4430
  py_retval = Py_BuildValue((char *) "L", retval);
4441
4431
  return py_retval;
4442
4432
  }
4443
- PyObject * _wrap__api_api_VMConfig_Stdin_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4433
+ PyObject * _wrap__api_api_SourceLocation_Line_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4444
4434
 
4445
4435
 
4446
4436
  PyObject *
4447
- _wrap__api_api_VMConfig_Stdin_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4437
+ _wrap__api_api_SourceLocation_Line_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4448
4438
  {
4449
4439
  PyObject *py_retval;
4450
4440
  int64_t handle;
@@ -4454,16 +4444,16 @@ _wrap__api_api_VMConfig_Stdin_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *
4454
4444
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4455
4445
  return NULL;
4456
4446
  }
4457
- api_VMConfig_Stdin_Set(handle, val);
4447
+ api_SourceLocation_Line_Set(handle, val);
4458
4448
  Py_INCREF(Py_None);
4459
4449
  py_retval = Py_None;
4460
4450
  return py_retval;
4461
4451
  }
4462
- PyObject * _wrap__api_api_VMConfig_Stdin_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4452
+ PyObject * _wrap__api_api_SourceLocation_Line_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4463
4453
 
4464
4454
 
4465
4455
  PyObject *
4466
- _wrap__api_api_VMConfig_Timeout_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4456
+ _wrap__api_api_SourceLocation_Column_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4467
4457
  {
4468
4458
  PyObject *py_retval;
4469
4459
  int64_t retval;
@@ -4473,15 +4463,15 @@ _wrap__api_api_VMConfig_Timeout_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject
4473
4463
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4474
4464
  return NULL;
4475
4465
  }
4476
- retval = api_VMConfig_Timeout_Get(handle);
4466
+ retval = api_SourceLocation_Column_Get(handle);
4477
4467
  py_retval = Py_BuildValue((char *) "L", retval);
4478
4468
  return py_retval;
4479
4469
  }
4480
- PyObject * _wrap__api_api_VMConfig_Timeout_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4470
+ PyObject * _wrap__api_api_SourceLocation_Column_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4481
4471
 
4482
4472
 
4483
4473
  PyObject *
4484
- _wrap__api_api_VMConfig_Timeout_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4474
+ _wrap__api_api_SourceLocation_Column_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4485
4475
  {
4486
4476
  PyObject *py_retval;
4487
4477
  int64_t handle;
@@ -4491,380 +4481,353 @@ _wrap__api_api_VMConfig_Timeout_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject
4491
4481
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4492
4482
  return NULL;
4493
4483
  }
4494
- api_VMConfig_Timeout_Set(handle, val);
4484
+ api_SourceLocation_Column_Set(handle, val);
4495
4485
  Py_INCREF(Py_None);
4496
4486
  py_retval = Py_None;
4497
4487
  return py_retval;
4498
4488
  }
4499
- PyObject * _wrap__api_api_VMConfig_Timeout_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4489
+ PyObject * _wrap__api_api_SourceLocation_Column_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4500
4490
 
4501
4491
 
4502
4492
  PyObject *
4503
- _wrap__api_api_VMConfig_WorkingDirectory_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4493
+ _wrap__api_api_UnknownFunctionHandler_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4504
4494
  {
4505
4495
  PyObject *py_retval;
4506
- char *retval;
4507
- int64_t handle;
4508
- const char *keywords[] = {"handle", NULL};
4496
+ int64_t retval;
4509
4497
 
4510
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4511
- return NULL;
4512
- }
4513
- retval = api_VMConfig_WorkingDirectory_Get(handle);
4514
- py_retval = Py_BuildValue((char *) "s", retval);
4498
+ retval = api_UnknownFunctionHandler_CTor();
4499
+ py_retval = Py_BuildValue((char *) "L", retval);
4515
4500
  return py_retval;
4516
4501
  }
4517
- PyObject * _wrap__api_api_VMConfig_WorkingDirectory_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4502
+ PyObject * _wrap__api_api_UnknownFunctionHandler_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4518
4503
 
4519
4504
 
4520
4505
  PyObject *
4521
- _wrap__api_api_VMConfig_WorkingDirectory_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4506
+ _wrap__api_api_VM_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4522
4507
  {
4523
4508
  PyObject *py_retval;
4524
- int64_t handle;
4525
- char *val;
4526
- const char *keywords[] = {"handle", "val", NULL};
4509
+ int64_t retval;
4527
4510
 
4528
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
4529
- return NULL;
4530
- }
4531
- api_VMConfig_WorkingDirectory_Set(handle, val);
4532
- Py_INCREF(Py_None);
4533
- py_retval = Py_None;
4511
+ retval = api_VM_CTor();
4512
+ py_retval = Py_BuildValue((char *) "L", retval);
4534
4513
  return py_retval;
4535
4514
  }
4536
- PyObject * _wrap__api_api_VMConfig_WorkingDirectory_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4515
+ PyObject * _wrap__api_api_VM_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4537
4516
 
4538
4517
 
4539
4518
  PyObject *
4540
- _wrap__api_api_VMConfig_Validate(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4519
+ _wrap__api_api_VM_GetCompatibilityShim(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4541
4520
  {
4542
4521
  PyObject *py_retval;
4543
- char *retval;
4522
+ int64_t retval;
4544
4523
  int64_t _handle;
4545
4524
  const char *keywords[] = {"_handle", NULL};
4546
4525
 
4547
4526
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4548
4527
  return NULL;
4549
4528
  }
4550
- retval = api_VMConfig_Validate(_handle);
4529
+ retval = api_VM_GetCompatibilityShim(_handle);
4551
4530
  if (PyErr_Occurred()) {
4552
4531
  return NULL;
4553
4532
  }
4554
- py_retval = Py_BuildValue((char *) "s", retval);
4533
+ py_retval = Py_BuildValue((char *) "L", retval);
4555
4534
  return py_retval;
4556
4535
  }
4557
- PyObject * _wrap__api_api_VMConfig_Validate(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4536
+ PyObject * _wrap__api_api_VM_GetCompatibilityShim(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4558
4537
 
4559
4538
 
4560
4539
  PyObject *
4561
- _wrap__api_api_VMError_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4540
+ _wrap__api_api_VM_Execute(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4562
4541
  {
4563
4542
  PyObject *py_retval;
4564
4543
  int64_t retval;
4544
+ int64_t _handle;
4545
+ char *code;
4546
+ const char *keywords[] = {"_handle", "code", NULL};
4565
4547
 
4566
- retval = api_VMError_CTor();
4548
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &code)) {
4549
+ return NULL;
4550
+ }
4551
+ retval = api_VM_Execute(_handle, code);
4552
+ if (PyErr_Occurred()) {
4553
+ return NULL;
4554
+ }
4567
4555
  py_retval = Py_BuildValue((char *) "L", retval);
4568
4556
  return py_retval;
4569
4557
  }
4570
- PyObject * _wrap__api_api_VMError_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4558
+ PyObject * _wrap__api_api_VM_Execute(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4571
4559
 
4572
4560
 
4573
4561
  PyObject *
4574
- _wrap__api_api_VMError_Type_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4562
+ _wrap__api_api_VM_ExecuteWithContext(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4575
4563
  {
4576
4564
  PyObject *py_retval;
4577
- char *retval;
4578
- int64_t handle;
4579
- const char *keywords[] = {"handle", NULL};
4565
+ int64_t retval;
4566
+ int64_t _handle;
4567
+ int64_t ctx;
4568
+ char *code;
4569
+ const char *keywords[] = {"_handle", "ctx", "code", NULL};
4580
4570
 
4581
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4571
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLs", (char **) keywords, &_handle, &ctx, &code)) {
4582
4572
  return NULL;
4583
4573
  }
4584
- retval = api_VMError_Type_Get(handle);
4585
- py_retval = Py_BuildValue((char *) "s", retval);
4586
- return py_retval;
4587
- }
4588
- PyObject * _wrap__api_api_VMError_Type_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4589
-
4590
-
4591
- PyObject *
4592
- _wrap__api_api_VMError_Type_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4593
- {
4594
- PyObject *py_retval;
4595
- int64_t handle;
4596
- char *val;
4597
- const char *keywords[] = {"handle", "val", NULL};
4598
-
4599
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
4574
+ retval = api_VM_ExecuteWithContext(_handle, ctx, code);
4575
+ if (PyErr_Occurred()) {
4600
4576
  return NULL;
4601
4577
  }
4602
- api_VMError_Type_Set(handle, val);
4603
- Py_INCREF(Py_None);
4604
- py_retval = Py_None;
4578
+ py_retval = Py_BuildValue((char *) "L", retval);
4605
4579
  return py_retval;
4606
4580
  }
4607
- PyObject * _wrap__api_api_VMError_Type_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4581
+ PyObject * _wrap__api_api_VM_ExecuteWithContext(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4608
4582
 
4609
4583
 
4610
4584
  PyObject *
4611
- _wrap__api_api_VMError_Message_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4585
+ _wrap__api_api_VM_NewObjectInstance(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4612
4586
  {
4613
4587
  PyObject *py_retval;
4614
- char *retval;
4615
- int64_t handle;
4616
- const char *keywords[] = {"handle", NULL};
4588
+ int64_t retval;
4589
+ int64_t _handle;
4590
+ char *className;
4591
+ const char *keywords[] = {"_handle", "className", NULL};
4617
4592
 
4618
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4593
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &className)) {
4619
4594
  return NULL;
4620
4595
  }
4621
- retval = api_VMError_Message_Get(handle);
4622
- py_retval = Py_BuildValue((char *) "s", retval);
4623
- return py_retval;
4624
- }
4625
- PyObject * _wrap__api_api_VMError_Message_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4626
-
4627
-
4628
- PyObject *
4629
- _wrap__api_api_VMError_Message_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4630
- {
4631
- PyObject *py_retval;
4632
- int64_t handle;
4633
- char *val;
4634
- const char *keywords[] = {"handle", "val", NULL};
4635
-
4636
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
4596
+ retval = api_VM_NewObjectInstance(_handle, className);
4597
+ if (PyErr_Occurred()) {
4637
4598
  return NULL;
4638
4599
  }
4639
- api_VMError_Message_Set(handle, val);
4640
- Py_INCREF(Py_None);
4641
- py_retval = Py_None;
4600
+ py_retval = Py_BuildValue((char *) "L", retval);
4642
4601
  return py_retval;
4643
4602
  }
4644
- PyObject * _wrap__api_api_VMError_Message_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4603
+ PyObject * _wrap__api_api_VM_NewObjectInstance(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4645
4604
 
4646
4605
 
4647
4606
  PyObject *
4648
- _wrap__api_api_VMError_Source_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4607
+ _wrap__api_api_VM_Call(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4649
4608
  {
4650
4609
  PyObject *py_retval;
4651
4610
  int64_t retval;
4652
- int64_t handle;
4653
- const char *keywords[] = {"handle", NULL};
4611
+ int64_t _handle;
4612
+ char *functionName;
4613
+ int64_t args2;
4614
+ const char *keywords[] = {"_handle", "functionName", "args", NULL};
4654
4615
 
4655
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4616
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsL", (char **) keywords, &_handle, &functionName, &args2)) {
4617
+ return NULL;
4618
+ }
4619
+ retval = api_VM_Call(_handle, functionName, args2);
4620
+ if (PyErr_Occurred()) {
4656
4621
  return NULL;
4657
4622
  }
4658
- retval = api_VMError_Source_Get(handle);
4659
4623
  py_retval = Py_BuildValue((char *) "L", retval);
4660
4624
  return py_retval;
4661
4625
  }
4662
- PyObject * _wrap__api_api_VMError_Source_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4626
+ PyObject * _wrap__api_api_VM_Call(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4663
4627
 
4664
4628
 
4665
4629
  PyObject *
4666
- _wrap__api_api_VMError_Source_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4630
+ _wrap__api_api_VM_CallMethod(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4667
4631
  {
4668
4632
  PyObject *py_retval;
4669
- int64_t handle;
4670
- int64_t val;
4671
- const char *keywords[] = {"handle", "val", NULL};
4633
+ int64_t retval;
4634
+ int64_t _handle;
4635
+ int64_t object;
4636
+ char *methodName;
4637
+ int64_t args2;
4638
+ const char *keywords[] = {"_handle", "object", "methodName", "args", NULL};
4672
4639
 
4673
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4640
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLsL", (char **) keywords, &_handle, &object, &methodName, &args2)) {
4674
4641
  return NULL;
4675
4642
  }
4676
- api_VMError_Source_Set(handle, val);
4677
- Py_INCREF(Py_None);
4678
- py_retval = Py_None;
4643
+ retval = api_VM_CallMethod(_handle, object, methodName, args2);
4644
+ if (PyErr_Occurred()) {
4645
+ return NULL;
4646
+ }
4647
+ py_retval = Py_BuildValue((char *) "L", retval);
4679
4648
  return py_retval;
4680
4649
  }
4681
- PyObject * _wrap__api_api_VMError_Source_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4650
+ PyObject * _wrap__api_api_VM_CallMethod(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4682
4651
 
4683
4652
 
4684
4653
  PyObject *
4685
- _wrap__api_api_VMError_Duration_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4654
+ _wrap__api_api_VM_DefineVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4686
4655
  {
4687
4656
  PyObject *py_retval;
4688
- int64_t retval;
4689
- int64_t handle;
4690
- const char *keywords[] = {"handle", NULL};
4657
+ char *retval;
4658
+ int64_t _handle;
4659
+ char *name;
4660
+ int64_t value;
4661
+ bool constant;
4662
+ PyObject *py_constant;
4663
+ const char *keywords[] = {"_handle", "name", "value", "constant", NULL};
4691
4664
 
4692
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4665
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsLO", (char **) keywords, &_handle, &name, &value, &py_constant)) {
4693
4666
  return NULL;
4694
4667
  }
4695
- retval = api_VMError_Duration_Get(handle);
4696
- py_retval = Py_BuildValue((char *) "L", retval);
4668
+ constant = (bool) PyObject_IsTrue(py_constant);
4669
+ retval = api_VM_DefineVariable(_handle, name, value, constant);
4670
+ if (PyErr_Occurred()) {
4671
+ return NULL;
4672
+ }
4673
+ py_retval = Py_BuildValue((char *) "s", retval);
4697
4674
  return py_retval;
4698
4675
  }
4699
- PyObject * _wrap__api_api_VMError_Duration_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4676
+ PyObject * _wrap__api_api_VM_DefineVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4700
4677
 
4701
4678
 
4702
4679
  PyObject *
4703
- _wrap__api_api_VMError_Duration_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4680
+ _wrap__api_api_VM_SetVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4704
4681
  {
4705
4682
  PyObject *py_retval;
4706
- int64_t handle;
4707
- int64_t val;
4708
- const char *keywords[] = {"handle", "val", NULL};
4683
+ char *retval;
4684
+ int64_t _handle;
4685
+ char *variableName;
4686
+ int64_t value;
4687
+ const char *keywords[] = {"_handle", "variableName", "value", NULL};
4709
4688
 
4710
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4689
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsL", (char **) keywords, &_handle, &variableName, &value)) {
4711
4690
  return NULL;
4712
4691
  }
4713
- api_VMError_Duration_Set(handle, val);
4714
- Py_INCREF(Py_None);
4715
- py_retval = Py_None;
4692
+ retval = api_VM_SetVariable(_handle, variableName, value);
4693
+ if (PyErr_Occurred()) {
4694
+ return NULL;
4695
+ }
4696
+ py_retval = Py_BuildValue((char *) "s", retval);
4716
4697
  return py_retval;
4717
4698
  }
4718
- PyObject * _wrap__api_api_VMError_Duration_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4699
+ PyObject * _wrap__api_api_VM_SetVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4719
4700
 
4720
4701
 
4721
4702
  PyObject *
4722
- _wrap__api_api_VMError_Error(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4703
+ _wrap__api_api_VM_GetVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4723
4704
  {
4724
4705
  PyObject *py_retval;
4725
- char *retval;
4706
+ int64_t retval;
4726
4707
  int64_t _handle;
4727
- const char *keywords[] = {"_handle", NULL};
4708
+ char *variableName;
4709
+ const char *keywords[] = {"_handle", "variableName", NULL};
4728
4710
 
4729
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4711
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &variableName)) {
4730
4712
  return NULL;
4731
4713
  }
4732
- retval = api_VMError_Error(_handle);
4714
+ retval = api_VM_GetVariable(_handle, variableName);
4733
4715
  if (PyErr_Occurred()) {
4734
- if (retval != NULL) free(retval);
4735
4716
  return NULL;
4736
4717
  }
4737
- py_retval = Py_BuildValue((char *) "s", retval);
4738
- free(retval);
4718
+ py_retval = Py_BuildValue((char *) "L", retval);
4739
4719
  return py_retval;
4740
4720
  }
4741
- PyObject * _wrap__api_api_VMError_Error(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4721
+ PyObject * _wrap__api_api_VM_GetVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4742
4722
 
4743
4723
 
4744
4724
  PyObject *
4745
- _wrap__api_api_VMError_Unwrap(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4725
+ _wrap__api_api_VM_DefineClass(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4746
4726
  {
4747
4727
  PyObject *py_retval;
4748
4728
  char *retval;
4749
4729
  int64_t _handle;
4750
- const char *keywords[] = {"_handle", NULL};
4730
+ int64_t classDef;
4731
+ const char *keywords[] = {"_handle", "classDef", NULL};
4751
4732
 
4752
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4733
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &_handle, &classDef)) {
4753
4734
  return NULL;
4754
4735
  }
4755
- retval = api_VMError_Unwrap(_handle);
4736
+ retval = api_VM_DefineClass(_handle, classDef);
4756
4737
  if (PyErr_Occurred()) {
4757
4738
  return NULL;
4758
4739
  }
4759
4740
  py_retval = Py_BuildValue((char *) "s", retval);
4760
4741
  return py_retval;
4761
4742
  }
4762
- PyObject * _wrap__api_api_VMError_Unwrap(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4743
+ PyObject * _wrap__api_api_VM_DefineClass(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4763
4744
 
4764
4745
 
4765
4746
  PyObject *
4766
- _wrap__api_api_VMError_IsCompileError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4747
+ _wrap__api_api_ClassMethod_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4767
4748
  {
4768
4749
  PyObject *py_retval;
4769
- bool retval;
4770
- int64_t _handle;
4771
- const char *keywords[] = {"_handle", NULL};
4750
+ int64_t retval;
4772
4751
 
4773
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4774
- return NULL;
4775
- }
4776
- retval = api_VMError_IsCompileError(_handle);
4777
- if (PyErr_Occurred()) {
4778
- return NULL;
4779
- }
4780
- py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4752
+ retval = api_ClassMethod_CTor();
4753
+ py_retval = Py_BuildValue((char *) "L", retval);
4781
4754
  return py_retval;
4782
4755
  }
4783
- PyObject * _wrap__api_api_VMError_IsCompileError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4756
+ PyObject * _wrap__api_api_ClassMethod_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4784
4757
 
4785
4758
 
4786
4759
  PyObject *
4787
- _wrap__api_api_VMError_IsRuntimeError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4760
+ _wrap__api_api_ClassMethod_Name_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4788
4761
  {
4789
4762
  PyObject *py_retval;
4790
- bool retval;
4791
- int64_t _handle;
4792
- const char *keywords[] = {"_handle", NULL};
4763
+ char *retval;
4764
+ int64_t handle;
4765
+ const char *keywords[] = {"handle", NULL};
4793
4766
 
4794
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4795
- return NULL;
4796
- }
4797
- retval = api_VMError_IsRuntimeError(_handle);
4798
- if (PyErr_Occurred()) {
4767
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4799
4768
  return NULL;
4800
4769
  }
4801
- py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4770
+ retval = api_ClassMethod_Name_Get(handle);
4771
+ py_retval = Py_BuildValue((char *) "s", retval);
4802
4772
  return py_retval;
4803
4773
  }
4804
- PyObject * _wrap__api_api_VMError_IsRuntimeError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4774
+ PyObject * _wrap__api_api_ClassMethod_Name_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4805
4775
 
4806
4776
 
4807
4777
  PyObject *
4808
- _wrap__api_api_VMError_IsTimeoutError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4778
+ _wrap__api_api_ClassMethod_Name_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4809
4779
  {
4810
4780
  PyObject *py_retval;
4811
- bool retval;
4812
- int64_t _handle;
4813
- const char *keywords[] = {"_handle", NULL};
4781
+ int64_t handle;
4782
+ char *val;
4783
+ const char *keywords[] = {"handle", "val", NULL};
4814
4784
 
4815
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4816
- return NULL;
4817
- }
4818
- retval = api_VMError_IsTimeoutError(_handle);
4819
- if (PyErr_Occurred()) {
4785
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
4820
4786
  return NULL;
4821
4787
  }
4822
- py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4788
+ api_ClassMethod_Name_Set(handle, val);
4789
+ Py_INCREF(Py_None);
4790
+ py_retval = Py_None;
4823
4791
  return py_retval;
4824
4792
  }
4825
- PyObject * _wrap__api_api_VMError_IsTimeoutError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4793
+ PyObject * _wrap__api_api_ClassMethod_Name_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4826
4794
 
4827
4795
 
4828
4796
  PyObject *
4829
- _wrap__api_api_VMError_IsConversionError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4797
+ _wrap__api_api_ClassMethod_Argc_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4830
4798
  {
4831
4799
  PyObject *py_retval;
4832
- bool retval;
4833
- int64_t _handle;
4834
- const char *keywords[] = {"_handle", NULL};
4800
+ int64_t retval;
4801
+ int64_t handle;
4802
+ const char *keywords[] = {"handle", NULL};
4835
4803
 
4836
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4837
- return NULL;
4838
- }
4839
- retval = api_VMError_IsConversionError(_handle);
4840
- if (PyErr_Occurred()) {
4804
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4841
4805
  return NULL;
4842
4806
  }
4843
- py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4807
+ retval = api_ClassMethod_Argc_Get(handle);
4808
+ py_retval = Py_BuildValue((char *) "L", retval);
4844
4809
  return py_retval;
4845
4810
  }
4846
- PyObject * _wrap__api_api_VMError_IsConversionError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4811
+ PyObject * _wrap__api_api_ClassMethod_Argc_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4847
4812
 
4848
4813
 
4849
4814
  PyObject *
4850
- _wrap__api_api_VMError_IsConfigError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4815
+ _wrap__api_api_ClassMethod_Argc_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4851
4816
  {
4852
4817
  PyObject *py_retval;
4853
- bool retval;
4854
- int64_t _handle;
4855
- const char *keywords[] = {"_handle", NULL};
4818
+ int64_t handle;
4819
+ int64_t val;
4820
+ const char *keywords[] = {"handle", "val", NULL};
4856
4821
 
4857
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4858
- return NULL;
4859
- }
4860
- retval = api_VMError_IsConfigError(_handle);
4861
- if (PyErr_Occurred()) {
4822
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4862
4823
  return NULL;
4863
4824
  }
4864
- py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4825
+ api_ClassMethod_Argc_Set(handle, val);
4826
+ Py_INCREF(Py_None);
4827
+ py_retval = Py_None;
4865
4828
  return py_retval;
4866
4829
  }
4867
- PyObject * _wrap__api_api_VMError_IsConfigError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4830
+ PyObject * _wrap__api_api_ClassMethod_Argc_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4868
4831
 
4869
4832
 
4870
4833
  PyObject *
@@ -4992,269 +4955,269 @@ PyObject * _wrap__api_api_ExecutionResult_Output_Set(PyObject * PYBINDGEN_UNUSED
4992
4955
 
4993
4956
 
4994
4957
  PyObject *
4995
- _wrap__api_api_GoValue_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4958
+ _wrap__api_api_VMCompatibilityShim_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4996
4959
  {
4997
4960
  PyObject *py_retval;
4998
4961
  int64_t retval;
4999
4962
 
5000
- retval = api_GoValue_CTor();
4963
+ retval = api_VMCompatibilityShim_CTor();
5001
4964
  py_retval = Py_BuildValue((char *) "L", retval);
5002
4965
  return py_retval;
5003
4966
  }
5004
- PyObject * _wrap__api_api_GoValue_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4967
+ PyObject * _wrap__api_api_VMCompatibilityShim_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
5005
4968
 
5006
4969
 
5007
4970
  PyObject *
5008
- _wrap__api_api_GoValue_ID(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4971
+ _wrap__api_api_VMCompatibilityShim_DefineFunction(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5009
4972
  {
5010
4973
  PyObject *py_retval;
5011
4974
  char *retval;
5012
4975
  int64_t _handle;
5013
- const char *keywords[] = {"_handle", NULL};
4976
+ char *id;
4977
+ char *name;
4978
+ int64_t argc;
4979
+ PyObject *function;
4980
+ const char *keywords[] = {"_handle", "id", "name", "argc", "function", NULL};
5014
4981
 
5015
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4982
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LssLO", (char **) keywords, &_handle, &id, &name, &argc, &function)) {
5016
4983
  return NULL;
5017
4984
  }
5018
- retval = api_GoValue_ID(_handle);
4985
+ retval = api_VMCompatibilityShim_DefineFunction(_handle, id, name, argc, function);
5019
4986
  if (PyErr_Occurred()) {
5020
- if (retval != NULL) free(retval);
5021
4987
  return NULL;
5022
4988
  }
5023
4989
  py_retval = Py_BuildValue((char *) "s", retval);
5024
- free(retval);
5025
4990
  return py_retval;
5026
4991
  }
5027
- PyObject * _wrap__api_api_GoValue_ID(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4992
+ PyObject * _wrap__api_api_VMCompatibilityShim_DefineFunction(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5028
4993
 
5029
4994
 
5030
4995
  PyObject *
5031
- _wrap__api_api_GoValue_MarshalJSON(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4996
+ _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithGetter(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5032
4997
  {
5033
4998
  PyObject *py_retval;
5034
4999
  int64_t retval;
5035
5000
  int64_t _handle;
5036
- const char *keywords[] = {"_handle", NULL};
5001
+ int64_t variable;
5002
+ char *getterID;
5003
+ PyObject *getter;
5004
+ const char *keywords[] = {"_handle", "variable", "getterID", "getter", NULL};
5037
5005
 
5038
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
5006
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLsO", (char **) keywords, &_handle, &variable, &getterID, &getter)) {
5039
5007
  return NULL;
5040
5008
  }
5041
- retval = api_GoValue_MarshalJSON(_handle);
5009
+ retval = api_VMCompatibilityShim_BuildNewClassVariableWithGetter(_handle, variable, getterID, getter);
5042
5010
  if (PyErr_Occurred()) {
5043
5011
  return NULL;
5044
5012
  }
5045
5013
  py_retval = Py_BuildValue((char *) "L", retval);
5046
5014
  return py_retval;
5047
5015
  }
5048
- PyObject * _wrap__api_api_GoValue_MarshalJSON(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5049
-
5050
-
5051
- PyObject *
5052
- _wrap__api_api_GoValue_Type(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5053
- {
5054
- PyObject *py_retval;
5055
- char *retval;
5056
- int64_t _handle;
5057
- const char *keywords[] = {"_handle", NULL};
5058
-
5059
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
5060
- return NULL;
5061
- }
5062
- retval = api_GoValue_Type(_handle);
5063
- if (PyErr_Occurred()) {
5064
- if (retval != NULL) free(retval);
5065
- return NULL;
5066
- }
5067
- py_retval = Py_BuildValue((char *) "s", retval);
5068
- free(retval);
5069
- return py_retval;
5070
- }
5071
- PyObject * _wrap__api_api_GoValue_Type(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5016
+ PyObject * _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithGetter(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5072
5017
 
5073
5018
 
5074
5019
  PyObject *
5075
- _wrap__api_api_GoValue_Int(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5020
+ _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithSetter(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5076
5021
  {
5077
5022
  PyObject *py_retval;
5078
5023
  int64_t retval;
5079
5024
  int64_t _handle;
5080
- const char *keywords[] = {"_handle", NULL};
5025
+ int64_t variable;
5026
+ char *setterID;
5027
+ PyObject *setter;
5028
+ const char *keywords[] = {"_handle", "variable", "setterID", "setter", NULL};
5081
5029
 
5082
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
5030
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLsO", (char **) keywords, &_handle, &variable, &setterID, &setter)) {
5083
5031
  return NULL;
5084
5032
  }
5085
- retval = api_GoValue_Int(_handle);
5033
+ retval = api_VMCompatibilityShim_BuildNewClassVariableWithSetter(_handle, variable, setterID, setter);
5086
5034
  if (PyErr_Occurred()) {
5087
5035
  return NULL;
5088
5036
  }
5089
5037
  py_retval = Py_BuildValue((char *) "L", retval);
5090
5038
  return py_retval;
5091
5039
  }
5092
- PyObject * _wrap__api_api_GoValue_Int(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5040
+ PyObject * _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithSetter(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5093
5041
 
5094
5042
 
5095
5043
  PyObject *
5096
- _wrap__api_api_GoValue_Float(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5044
+ _wrap__api_api_VMCompatibilityShim_BuildNewClassMethod(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5097
5045
  {
5098
5046
  PyObject *py_retval;
5099
- double retval;
5047
+ int64_t retval;
5100
5048
  int64_t _handle;
5101
- const char *keywords[] = {"_handle", NULL};
5049
+ int64_t method;
5050
+ char *id;
5051
+ PyObject *function;
5052
+ const char *keywords[] = {"_handle", "method", "id", "function", NULL};
5102
5053
 
5103
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
5054
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLsO", (char **) keywords, &_handle, &method, &id, &function)) {
5104
5055
  return NULL;
5105
5056
  }
5106
- retval = api_GoValue_Float(_handle);
5057
+ retval = api_VMCompatibilityShim_BuildNewClassMethod(_handle, method, id, function);
5107
5058
  if (PyErr_Occurred()) {
5108
5059
  return NULL;
5109
5060
  }
5110
- py_retval = Py_BuildValue((char *) "d", retval);
5061
+ py_retval = Py_BuildValue((char *) "L", retval);
5111
5062
  return py_retval;
5112
5063
  }
5113
- PyObject * _wrap__api_api_GoValue_Float(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5064
+ PyObject * _wrap__api_api_VMCompatibilityShim_BuildNewClassMethod(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5114
5065
 
5115
5066
 
5116
5067
  PyObject *
5117
- _wrap__api_api_GoValue_String(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5068
+ _wrap__api_api_VMCompatibilityShim_BuildNewUnknownFunctionHandler(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5118
5069
  {
5119
5070
  PyObject *py_retval;
5120
- char *retval;
5071
+ int64_t retval;
5121
5072
  int64_t _handle;
5122
- const char *keywords[] = {"_handle", NULL};
5073
+ char *id;
5074
+ PyObject *function;
5075
+ const char *keywords[] = {"_handle", "id", "function", NULL};
5123
5076
 
5124
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
5077
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsO", (char **) keywords, &_handle, &id, &function)) {
5125
5078
  return NULL;
5126
5079
  }
5127
- retval = api_GoValue_String(_handle);
5080
+ retval = api_VMCompatibilityShim_BuildNewUnknownFunctionHandler(_handle, id, function);
5128
5081
  if (PyErr_Occurred()) {
5129
- if (retval != NULL) free(retval);
5130
5082
  return NULL;
5131
5083
  }
5132
- py_retval = Py_BuildValue((char *) "s", retval);
5133
- free(retval);
5084
+ py_retval = Py_BuildValue((char *) "L", retval);
5134
5085
  return py_retval;
5135
5086
  }
5136
- PyObject * _wrap__api_api_GoValue_String(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5087
+ PyObject * _wrap__api_api_VMCompatibilityShim_BuildNewUnknownFunctionHandler(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5137
5088
 
5138
5089
 
5139
5090
  PyObject *
5140
- _wrap__api_api_GoValue_Bool(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5091
+ _wrap__api_api_VMCompatibilityShim_IsClassDefined(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5141
5092
  {
5142
5093
  PyObject *py_retval;
5143
5094
  bool retval;
5144
5095
  int64_t _handle;
5145
- const char *keywords[] = {"_handle", NULL};
5096
+ char *name;
5097
+ const char *keywords[] = {"_handle", "name", NULL};
5146
5098
 
5147
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
5099
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &name)) {
5148
5100
  return NULL;
5149
5101
  }
5150
- retval = api_GoValue_Bool(_handle);
5102
+ retval = api_VMCompatibilityShim_IsClassDefined(_handle, name);
5151
5103
  if (PyErr_Occurred()) {
5152
5104
  return NULL;
5153
5105
  }
5154
5106
  py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
5155
5107
  return py_retval;
5156
5108
  }
5157
- PyObject * _wrap__api_api_GoValue_Bool(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5109
+ PyObject * _wrap__api_api_VMCompatibilityShim_IsClassDefined(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5158
5110
 
5159
5111
 
5160
5112
  PyObject *
5161
- _wrap__api_api_GoValue_Slice(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5113
+ _wrap__api_api_VMCompatibilityShim_LookupObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5162
5114
  {
5163
5115
  PyObject *py_retval;
5164
5116
  int64_t retval;
5165
5117
  int64_t _handle;
5166
- const char *keywords[] = {"_handle", NULL};
5118
+ char *id;
5119
+ const char *keywords[] = {"_handle", "id", NULL};
5167
5120
 
5168
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
5121
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &id)) {
5169
5122
  return NULL;
5170
5123
  }
5171
- retval = api_GoValue_Slice(_handle);
5124
+ retval = api_VMCompatibilityShim_LookupObject(_handle, id);
5172
5125
  if (PyErr_Occurred()) {
5173
5126
  return NULL;
5174
5127
  }
5175
5128
  py_retval = Py_BuildValue((char *) "L", retval);
5176
5129
  return py_retval;
5177
5130
  }
5178
- PyObject * _wrap__api_api_GoValue_Slice(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5131
+ PyObject * _wrap__api_api_VMCompatibilityShim_LookupObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5179
5132
 
5180
5133
 
5181
5134
  PyObject *
5182
- _wrap__api_api_GoValue_Map(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5135
+ _wrap__api_api_VMCompatibilityShim_GetObjectMRO(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5183
5136
  {
5184
5137
  PyObject *py_retval;
5185
5138
  int64_t retval;
5186
5139
  int64_t _handle;
5187
- const char *keywords[] = {"_handle", NULL};
5140
+ char *id;
5141
+ const char *keywords[] = {"_handle", "id", NULL};
5188
5142
 
5189
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
5143
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &id)) {
5190
5144
  return NULL;
5191
5145
  }
5192
- retval = api_GoValue_Map(_handle);
5146
+ retval = api_VMCompatibilityShim_GetObjectMRO(_handle, id);
5193
5147
  if (PyErr_Occurred()) {
5194
5148
  return NULL;
5195
5149
  }
5196
5150
  py_retval = Py_BuildValue((char *) "L", retval);
5197
5151
  return py_retval;
5198
5152
  }
5199
- PyObject * _wrap__api_api_GoValue_Map(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5153
+ PyObject * _wrap__api_api_VMCompatibilityShim_GetObjectMRO(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5200
5154
 
5201
5155
 
5202
5156
  PyObject *
5203
- _wrap__api_api_GoValue_Object(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5157
+ _wrap__api_api_VMCompatibilityShim_GetObjectImmediateFunctions(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5204
5158
  {
5205
5159
  PyObject *py_retval;
5206
5160
  int64_t retval;
5207
5161
  int64_t _handle;
5208
- const char *keywords[] = {"_handle", NULL};
5162
+ char *id;
5163
+ const char *keywords[] = {"_handle", "id", NULL};
5209
5164
 
5210
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
5165
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &id)) {
5211
5166
  return NULL;
5212
5167
  }
5213
- retval = api_GoValue_Object(_handle);
5168
+ retval = api_VMCompatibilityShim_GetObjectImmediateFunctions(_handle, id);
5214
5169
  if (PyErr_Occurred()) {
5215
5170
  return NULL;
5216
5171
  }
5217
5172
  py_retval = Py_BuildValue((char *) "L", retval);
5218
5173
  return py_retval;
5219
5174
  }
5220
- PyObject * _wrap__api_api_GoValue_Object(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5175
+ PyObject * _wrap__api_api_VMCompatibilityShim_GetObjectImmediateFunctions(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5221
5176
 
5222
5177
 
5223
5178
  PyObject *
5224
- _wrap__api_api_NewClassDefinition(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
5179
+ _wrap__api_api_VMCompatibilityShim_GetObjectImmediateVariables(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5225
5180
  {
5226
5181
  PyObject *py_retval;
5227
5182
  int64_t retval;
5183
+ int64_t _handle;
5184
+ char *id;
5185
+ const char *keywords[] = {"_handle", "id", NULL};
5228
5186
 
5229
- retval = api_NewClassDefinition();
5187
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &id)) {
5188
+ return NULL;
5189
+ }
5190
+ retval = api_VMCompatibilityShim_GetObjectImmediateVariables(_handle, id);
5230
5191
  if (PyErr_Occurred()) {
5231
5192
  return NULL;
5232
5193
  }
5233
5194
  py_retval = Py_BuildValue((char *) "L", retval);
5234
5195
  return py_retval;
5235
5196
  }
5236
- PyObject * _wrap__api_api_NewClassDefinition(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
5197
+ PyObject * _wrap__api_api_VMCompatibilityShim_GetObjectImmediateVariables(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5237
5198
 
5238
5199
 
5239
5200
  PyObject *
5240
- _wrap__api_api_NewVM(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5201
+ _wrap__api_api_VMCompatibilityShim_AddVariableToObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5241
5202
  {
5242
5203
  PyObject *py_retval;
5243
- int64_t retval;
5244
- int64_t config;
5245
- const char *keywords[] = {"config", NULL};
5204
+ char *retval;
5205
+ int64_t _handle;
5206
+ char *id;
5207
+ int64_t variable;
5208
+ const char *keywords[] = {"_handle", "id", "variable", NULL};
5246
5209
 
5247
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &config)) {
5210
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsL", (char **) keywords, &_handle, &id, &variable)) {
5248
5211
  return NULL;
5249
5212
  }
5250
- retval = api_NewVM(config);
5213
+ retval = api_VMCompatibilityShim_AddVariableToObject(_handle, id, variable);
5251
5214
  if (PyErr_Occurred()) {
5252
5215
  return NULL;
5253
5216
  }
5254
- py_retval = Py_BuildValue((char *) "L", retval);
5217
+ py_retval = Py_BuildValue((char *) "s", retval);
5255
5218
  return py_retval;
5256
5219
  }
5257
- PyObject * _wrap__api_api_NewVM(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5220
+ PyObject * _wrap__api_api_VMCompatibilityShim_AddVariableToObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5258
5221
 
5259
5222
 
5260
5223
  PyObject *
@@ -5274,25 +5237,25 @@ PyObject * _wrap__api_api_DefaultConfig(PyObject *PYBINDGEN_UNUSED(_args), PyObj
5274
5237
 
5275
5238
 
5276
5239
  PyObject *
5277
- _wrap__api_api_NewConversionError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5240
+ _wrap__api_api_NewRuntimeError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5278
5241
  {
5279
5242
  PyObject *py_retval;
5280
5243
  int64_t retval;
5281
5244
  char *message;
5282
- char *wrapped;
5283
- const char *keywords[] = {"message", "wrapped", NULL};
5245
+ int64_t source;
5246
+ const char *keywords[] = {"message", "source", NULL};
5284
5247
 
5285
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "ss", (char **) keywords, &message, &wrapped)) {
5248
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "sL", (char **) keywords, &message, &source)) {
5286
5249
  return NULL;
5287
5250
  }
5288
- retval = api_NewConversionError(message, wrapped);
5251
+ retval = api_NewRuntimeError(message, source);
5289
5252
  if (PyErr_Occurred()) {
5290
5253
  return NULL;
5291
5254
  }
5292
5255
  py_retval = Py_BuildValue((char *) "L", retval);
5293
5256
  return py_retval;
5294
5257
  }
5295
- PyObject * _wrap__api_api_NewConversionError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5258
+ PyObject * _wrap__api_api_NewRuntimeError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5296
5259
 
5297
5260
 
5298
5261
  PyObject *
@@ -5317,7 +5280,29 @@ PyObject * _wrap__api_api_NewTimeoutError(PyObject * PYBINDGEN_UNUSED(dummy), Py
5317
5280
 
5318
5281
 
5319
5282
  PyObject *
5320
- _wrap__api_api_NewRuntimeError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5283
+ _wrap__api_api_NewConversionError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5284
+ {
5285
+ PyObject *py_retval;
5286
+ int64_t retval;
5287
+ char *message;
5288
+ char *wrapped;
5289
+ const char *keywords[] = {"message", "wrapped", NULL};
5290
+
5291
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "ss", (char **) keywords, &message, &wrapped)) {
5292
+ return NULL;
5293
+ }
5294
+ retval = api_NewConversionError(message, wrapped);
5295
+ if (PyErr_Occurred()) {
5296
+ return NULL;
5297
+ }
5298
+ py_retval = Py_BuildValue((char *) "L", retval);
5299
+ return py_retval;
5300
+ }
5301
+ PyObject * _wrap__api_api_NewConversionError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5302
+
5303
+
5304
+ PyObject *
5305
+ _wrap__api_api_NewCompileError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5321
5306
  {
5322
5307
  PyObject *py_retval;
5323
5308
  int64_t retval;
@@ -5328,14 +5313,14 @@ _wrap__api_api_NewRuntimeError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *arg
5328
5313
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "sL", (char **) keywords, &message, &source)) {
5329
5314
  return NULL;
5330
5315
  }
5331
- retval = api_NewRuntimeError(message, source);
5316
+ retval = api_NewCompileError(message, source);
5332
5317
  if (PyErr_Occurred()) {
5333
5318
  return NULL;
5334
5319
  }
5335
5320
  py_retval = Py_BuildValue((char *) "L", retval);
5336
5321
  return py_retval;
5337
5322
  }
5338
- PyObject * _wrap__api_api_NewRuntimeError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5323
+ PyObject * _wrap__api_api_NewCompileError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5339
5324
 
5340
5325
 
5341
5326
  PyObject *
@@ -5361,46 +5346,40 @@ PyObject * _wrap__api_api_NewConfigError(PyObject * PYBINDGEN_UNUSED(dummy), PyO
5361
5346
 
5362
5347
 
5363
5348
  PyObject *
5364
- _wrap__api_api_NewCompileError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5349
+ _wrap__api_api_NewClassDefinition(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
5365
5350
  {
5366
5351
  PyObject *py_retval;
5367
- int64_t retval;
5368
- char *message;
5369
- int64_t source;
5370
- const char *keywords[] = {"message", "source", NULL};
5371
-
5372
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "sL", (char **) keywords, &message, &source)) {
5373
- return NULL;
5374
- }
5375
- retval = api_NewCompileError(message, source);
5352
+ int64_t retval;
5353
+
5354
+ retval = api_NewClassDefinition();
5376
5355
  if (PyErr_Occurred()) {
5377
5356
  return NULL;
5378
5357
  }
5379
5358
  py_retval = Py_BuildValue((char *) "L", retval);
5380
5359
  return py_retval;
5381
5360
  }
5382
- PyObject * _wrap__api_api_NewCompileError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5361
+ PyObject * _wrap__api_api_NewClassDefinition(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
5383
5362
 
5384
5363
 
5385
5364
  PyObject *
5386
- _wrap__api_api_WrapObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5365
+ _wrap__api_api_WrapAny(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5387
5366
  {
5388
5367
  PyObject *py_retval;
5389
5368
  int64_t retval;
5390
- int64_t value;
5369
+ char *value;
5391
5370
  const char *keywords[] = {"value", NULL};
5392
5371
 
5393
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &value)) {
5372
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "s", (char **) keywords, &value)) {
5394
5373
  return NULL;
5395
5374
  }
5396
- retval = api_WrapObject(value);
5375
+ retval = api_WrapAny(value);
5397
5376
  if (PyErr_Occurred()) {
5398
5377
  return NULL;
5399
5378
  }
5400
5379
  py_retval = Py_BuildValue((char *) "L", retval);
5401
5380
  return py_retval;
5402
5381
  }
5403
- PyObject * _wrap__api_api_WrapObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5382
+ PyObject * _wrap__api_api_WrapAny(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5404
5383
 
5405
5384
 
5406
5385
  PyObject *
@@ -5425,131 +5404,131 @@ PyObject * _wrap__api_api_WrapFloat(PyObject * PYBINDGEN_UNUSED(dummy), PyObject
5425
5404
 
5426
5405
 
5427
5406
  PyObject *
5428
- _wrap__api_api_ToGoValue(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5407
+ _wrap__api_api_WrapInt(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5429
5408
  {
5430
5409
  PyObject *py_retval;
5431
5410
  int64_t retval;
5432
- int64_t val;
5433
- const char *keywords[] = {"val", NULL};
5411
+ int64_t value;
5412
+ const char *keywords[] = {"value", NULL};
5434
5413
 
5435
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &val)) {
5414
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &value)) {
5436
5415
  return NULL;
5437
5416
  }
5438
- retval = api_ToGoValue(val);
5417
+ retval = api_WrapInt(value);
5439
5418
  if (PyErr_Occurred()) {
5440
5419
  return NULL;
5441
5420
  }
5442
5421
  py_retval = Py_BuildValue((char *) "L", retval);
5443
5422
  return py_retval;
5444
5423
  }
5445
- PyObject * _wrap__api_api_ToGoValue(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5424
+ PyObject * _wrap__api_api_WrapInt(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5446
5425
 
5447
5426
 
5448
5427
  PyObject *
5449
- _wrap__api_api_WrapAny(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5428
+ _wrap__api_api_WrapObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5450
5429
  {
5451
5430
  PyObject *py_retval;
5452
5431
  int64_t retval;
5453
- char *value;
5432
+ int64_t value;
5454
5433
  const char *keywords[] = {"value", NULL};
5455
5434
 
5456
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "s", (char **) keywords, &value)) {
5435
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &value)) {
5457
5436
  return NULL;
5458
5437
  }
5459
- retval = api_WrapAny(value);
5438
+ retval = api_WrapObject(value);
5460
5439
  if (PyErr_Occurred()) {
5461
5440
  return NULL;
5462
5441
  }
5463
5442
  py_retval = Py_BuildValue((char *) "L", retval);
5464
5443
  return py_retval;
5465
5444
  }
5466
- PyObject * _wrap__api_api_WrapAny(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5445
+ PyObject * _wrap__api_api_WrapObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5467
5446
 
5468
5447
 
5469
5448
  PyObject *
5470
- _wrap__api_api_WrapInt(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5449
+ _wrap__api_api_ToGoValue(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5471
5450
  {
5472
5451
  PyObject *py_retval;
5473
5452
  int64_t retval;
5474
- int64_t value;
5475
- const char *keywords[] = {"value", NULL};
5453
+ int64_t val;
5454
+ const char *keywords[] = {"val", NULL};
5476
5455
 
5477
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &value)) {
5456
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &val)) {
5478
5457
  return NULL;
5479
5458
  }
5480
- retval = api_WrapInt(value);
5459
+ retval = api_ToGoValue(val);
5481
5460
  if (PyErr_Occurred()) {
5482
5461
  return NULL;
5483
5462
  }
5484
5463
  py_retval = Py_BuildValue((char *) "L", retval);
5485
5464
  return py_retval;
5486
5465
  }
5487
- PyObject * _wrap__api_api_WrapInt(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5466
+ PyObject * _wrap__api_api_ToGoValue(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5488
5467
 
5489
5468
 
5490
5469
  PyObject *
5491
- _wrap__api_api_WrapString(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5470
+ _wrap__api_api_WrapBool(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5492
5471
  {
5493
5472
  PyObject *py_retval;
5494
5473
  int64_t retval;
5495
- char *value;
5474
+ bool value;
5475
+ PyObject *py_value;
5496
5476
  const char *keywords[] = {"value", NULL};
5497
5477
 
5498
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "s", (char **) keywords, &value)) {
5478
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "O", (char **) keywords, &py_value)) {
5499
5479
  return NULL;
5500
5480
  }
5501
- retval = api_WrapString(value);
5481
+ value = (bool) PyObject_IsTrue(py_value);
5482
+ retval = api_WrapBool(value);
5502
5483
  if (PyErr_Occurred()) {
5503
5484
  return NULL;
5504
5485
  }
5505
5486
  py_retval = Py_BuildValue((char *) "L", retval);
5506
5487
  return py_retval;
5507
5488
  }
5508
- PyObject * _wrap__api_api_WrapString(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5489
+ PyObject * _wrap__api_api_WrapBool(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5509
5490
 
5510
5491
 
5511
5492
  PyObject *
5512
- _wrap__api_api_WrapBool(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5493
+ _wrap__api_api_WrapString(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5513
5494
  {
5514
5495
  PyObject *py_retval;
5515
5496
  int64_t retval;
5516
- bool value;
5517
- PyObject *py_value;
5497
+ char *value;
5518
5498
  const char *keywords[] = {"value", NULL};
5519
5499
 
5520
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "O", (char **) keywords, &py_value)) {
5500
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "s", (char **) keywords, &value)) {
5521
5501
  return NULL;
5522
5502
  }
5523
- value = (bool) PyObject_IsTrue(py_value);
5524
- retval = api_WrapBool(value);
5503
+ retval = api_WrapString(value);
5525
5504
  if (PyErr_Occurred()) {
5526
5505
  return NULL;
5527
5506
  }
5528
5507
  py_retval = Py_BuildValue((char *) "L", retval);
5529
5508
  return py_retval;
5530
5509
  }
5531
- PyObject * _wrap__api_api_WrapBool(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5510
+ PyObject * _wrap__api_api_WrapString(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5532
5511
 
5533
5512
 
5534
5513
  PyObject *
5535
- _wrap__api_api_FromGoValue(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5514
+ _wrap__api_api_NewVM(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5536
5515
  {
5537
5516
  PyObject *py_retval;
5538
5517
  int64_t retval;
5539
- int64_t val;
5540
- const char *keywords[] = {"val", NULL};
5518
+ int64_t config;
5519
+ const char *keywords[] = {"config", NULL};
5541
5520
 
5542
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &val)) {
5521
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &config)) {
5543
5522
  return NULL;
5544
5523
  }
5545
- retval = api_FromGoValue(val);
5524
+ retval = api_NewVM(config);
5546
5525
  if (PyErr_Occurred()) {
5547
5526
  return NULL;
5548
5527
  }
5549
5528
  py_retval = Py_BuildValue((char *) "L", retval);
5550
5529
  return py_retval;
5551
5530
  }
5552
- PyObject * _wrap__api_api_FromGoValue(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5531
+ PyObject * _wrap__api_api_NewVM(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5553
5532
 
5554
5533
 
5555
5534
  PyObject *
@@ -5593,6 +5572,27 @@ _wrap__api_api_ConvertArguments(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *ar
5593
5572
  }
5594
5573
  PyObject * _wrap__api_api_ConvertArguments(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5595
5574
 
5575
+
5576
+ PyObject *
5577
+ _wrap__api_api_FromGoValue(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5578
+ {
5579
+ PyObject *py_retval;
5580
+ int64_t retval;
5581
+ int64_t val;
5582
+ const char *keywords[] = {"val", NULL};
5583
+
5584
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &val)) {
5585
+ return NULL;
5586
+ }
5587
+ retval = api_FromGoValue(val);
5588
+ if (PyErr_Occurred()) {
5589
+ return NULL;
5590
+ }
5591
+ py_retval = Py_BuildValue((char *) "L", retval);
5592
+ return py_retval;
5593
+ }
5594
+ PyObject * _wrap__api_api_FromGoValue(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5595
+
5596
5596
  static PyMethodDef _api_functions[] = {
5597
5597
  {(char *) "GoPyInit", (PyCFunction) _wrap__api_GoPyInit, METH_NOARGS, "GoPyInit()\n\n" },
5598
5598
  {(char *) "DecRef", (PyCFunction) _wrap__api_DecRef, METH_KEYWORDS|METH_VARARGS, "DecRef(handle)\n\ntype: handle: int64_t" },
@@ -5769,64 +5769,6 @@ static PyMethodDef _api_functions[] = {
5769
5769
  {(char *) "Map_string_api_GoValue_set", (PyCFunction) _wrap__api_Map_string_api_GoValue_set, METH_KEYWORDS|METH_VARARGS, "Map_string_api_GoValue_set(handle, key, value)\n\ntype: handle: int64_t\ntype: key: char *\ntype: value: int64_t" },
5770
5770
  {(char *) "Map_string_api_GoValue_delete", (PyCFunction) _wrap__api_Map_string_api_GoValue_delete, METH_KEYWORDS|METH_VARARGS, "Map_string_api_GoValue_delete(handle, _ky)\n\ntype: handle: int64_t\ntype: _ky: char *" },
5771
5771
  {(char *) "Map_string_api_GoValue_keys", (PyCFunction) _wrap__api_Map_string_api_GoValue_keys, METH_KEYWORDS|METH_VARARGS, "Map_string_api_GoValue_keys(handle)\n\ntype: handle: int64_t" },
5772
- {(char *) "api_ClassVariable_CTor", (PyCFunction) _wrap__api_api_ClassVariable_CTor, METH_NOARGS, "api_ClassVariable_CTor()\n\n" },
5773
- {(char *) "api_ClassVariable_Name_Get", (PyCFunction) _wrap__api_api_ClassVariable_Name_Get, METH_KEYWORDS|METH_VARARGS, "api_ClassVariable_Name_Get(handle)\n\ntype: handle: int64_t" },
5774
- {(char *) "api_ClassVariable_Name_Set", (PyCFunction) _wrap__api_api_ClassVariable_Name_Set, METH_KEYWORDS|METH_VARARGS, "api_ClassVariable_Name_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: char *" },
5775
- {(char *) "api_ClassVariable_Value_Get", (PyCFunction) _wrap__api_api_ClassVariable_Value_Get, METH_KEYWORDS|METH_VARARGS, "api_ClassVariable_Value_Get(handle)\n\ntype: handle: int64_t" },
5776
- {(char *) "api_ClassVariable_Value_Set", (PyCFunction) _wrap__api_api_ClassVariable_Value_Set, METH_KEYWORDS|METH_VARARGS, "api_ClassVariable_Value_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5777
- {(char *) "api_ClassVariable_Locked_Get", (PyCFunction) _wrap__api_api_ClassVariable_Locked_Get, METH_KEYWORDS|METH_VARARGS, "api_ClassVariable_Locked_Get(handle)\n\ntype: handle: int64_t" },
5778
- {(char *) "api_ClassVariable_Locked_Set", (PyCFunction) _wrap__api_api_ClassVariable_Locked_Set, METH_KEYWORDS|METH_VARARGS, "api_ClassVariable_Locked_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: bool" },
5779
- {(char *) "api_SourceLocation_CTor", (PyCFunction) _wrap__api_api_SourceLocation_CTor, METH_NOARGS, "api_SourceLocation_CTor()\n\n" },
5780
- {(char *) "api_SourceLocation_Filename_Get", (PyCFunction) _wrap__api_api_SourceLocation_Filename_Get, METH_KEYWORDS|METH_VARARGS, "api_SourceLocation_Filename_Get(handle)\n\ntype: handle: int64_t" },
5781
- {(char *) "api_SourceLocation_Filename_Set", (PyCFunction) _wrap__api_api_SourceLocation_Filename_Set, METH_KEYWORDS|METH_VARARGS, "api_SourceLocation_Filename_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: char *" },
5782
- {(char *) "api_SourceLocation_Line_Get", (PyCFunction) _wrap__api_api_SourceLocation_Line_Get, METH_KEYWORDS|METH_VARARGS, "api_SourceLocation_Line_Get(handle)\n\ntype: handle: int64_t" },
5783
- {(char *) "api_SourceLocation_Line_Set", (PyCFunction) _wrap__api_api_SourceLocation_Line_Set, METH_KEYWORDS|METH_VARARGS, "api_SourceLocation_Line_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5784
- {(char *) "api_SourceLocation_Column_Get", (PyCFunction) _wrap__api_api_SourceLocation_Column_Get, METH_KEYWORDS|METH_VARARGS, "api_SourceLocation_Column_Get(handle)\n\ntype: handle: int64_t" },
5785
- {(char *) "api_SourceLocation_Column_Set", (PyCFunction) _wrap__api_api_SourceLocation_Column_Set, METH_KEYWORDS|METH_VARARGS, "api_SourceLocation_Column_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5786
- {(char *) "api_VMCompatibilityShim_CTor", (PyCFunction) _wrap__api_api_VMCompatibilityShim_CTor, METH_NOARGS, "api_VMCompatibilityShim_CTor()\n\n" },
5787
- {(char *) "api_VMCompatibilityShim_DefineFunction", (PyCFunction) _wrap__api_api_VMCompatibilityShim_DefineFunction, METH_KEYWORDS|METH_VARARGS, "api_VMCompatibilityShim_DefineFunction(_handle, id, name, argc, function)\n\ntype: _handle: int64_t\ntype: id: char *\ntype: name: char *\ntype: argc: int64_t\ntype: function: PyObject *" },
5788
- {(char *) "api_VMCompatibilityShim_BuildNewClassVariableWithGetter", (PyCFunction) _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithGetter, METH_KEYWORDS|METH_VARARGS, "api_VMCompatibilityShim_BuildNewClassVariableWithGetter(_handle, variable, getterID, getter)\n\ntype: _handle: int64_t\ntype: variable: int64_t\ntype: getterID: char *\ntype: getter: PyObject *" },
5789
- {(char *) "api_VMCompatibilityShim_BuildNewClassVariableWithSetter", (PyCFunction) _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithSetter, METH_KEYWORDS|METH_VARARGS, "api_VMCompatibilityShim_BuildNewClassVariableWithSetter(_handle, variable, setterID, setter)\n\ntype: _handle: int64_t\ntype: variable: int64_t\ntype: setterID: char *\ntype: setter: PyObject *" },
5790
- {(char *) "api_VMCompatibilityShim_BuildNewClassMethod", (PyCFunction) _wrap__api_api_VMCompatibilityShim_BuildNewClassMethod, METH_KEYWORDS|METH_VARARGS, "api_VMCompatibilityShim_BuildNewClassMethod(_handle, method, id, function)\n\ntype: _handle: int64_t\ntype: method: int64_t\ntype: id: char *\ntype: function: PyObject *" },
5791
- {(char *) "api_VMCompatibilityShim_BuildNewUnknownFunctionHandler", (PyCFunction) _wrap__api_api_VMCompatibilityShim_BuildNewUnknownFunctionHandler, METH_KEYWORDS|METH_VARARGS, "api_VMCompatibilityShim_BuildNewUnknownFunctionHandler(_handle, id, function)\n\ntype: _handle: int64_t\ntype: id: char *\ntype: function: PyObject *" },
5792
- {(char *) "api_VMCompatibilityShim_IsClassDefined", (PyCFunction) _wrap__api_api_VMCompatibilityShim_IsClassDefined, METH_KEYWORDS|METH_VARARGS, "api_VMCompatibilityShim_IsClassDefined(_handle, name)\n\ntype: _handle: int64_t\ntype: name: char *" },
5793
- {(char *) "api_VMCompatibilityShim_LookupObject", (PyCFunction) _wrap__api_api_VMCompatibilityShim_LookupObject, METH_KEYWORDS|METH_VARARGS, "api_VMCompatibilityShim_LookupObject(_handle, id)\n\ntype: _handle: int64_t\ntype: id: char *" },
5794
- {(char *) "api_VMCompatibilityShim_GetObjectMRO", (PyCFunction) _wrap__api_api_VMCompatibilityShim_GetObjectMRO, METH_KEYWORDS|METH_VARARGS, "api_VMCompatibilityShim_GetObjectMRO(_handle, id)\n\ntype: _handle: int64_t\ntype: id: char *" },
5795
- {(char *) "api_VMCompatibilityShim_GetObjectImmediateFunctions", (PyCFunction) _wrap__api_api_VMCompatibilityShim_GetObjectImmediateFunctions, METH_KEYWORDS|METH_VARARGS, "api_VMCompatibilityShim_GetObjectImmediateFunctions(_handle, id)\n\ntype: _handle: int64_t\ntype: id: char *" },
5796
- {(char *) "api_VMCompatibilityShim_GetObjectImmediateVariables", (PyCFunction) _wrap__api_api_VMCompatibilityShim_GetObjectImmediateVariables, METH_KEYWORDS|METH_VARARGS, "api_VMCompatibilityShim_GetObjectImmediateVariables(_handle, id)\n\ntype: _handle: int64_t\ntype: id: char *" },
5797
- {(char *) "api_VMCompatibilityShim_AddVariableToObject", (PyCFunction) _wrap__api_api_VMCompatibilityShim_AddVariableToObject, METH_KEYWORDS|METH_VARARGS, "api_VMCompatibilityShim_AddVariableToObject(_handle, id, variable)\n\ntype: _handle: int64_t\ntype: id: char *\ntype: variable: int64_t" },
5798
- {(char *) "api_ClassDefinition_CTor", (PyCFunction) _wrap__api_api_ClassDefinition_CTor, METH_NOARGS, "api_ClassDefinition_CTor()\n\n" },
5799
- {(char *) "api_ClassDefinition_Name_Get", (PyCFunction) _wrap__api_api_ClassDefinition_Name_Get, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_Name_Get(handle)\n\ntype: handle: int64_t" },
5800
- {(char *) "api_ClassDefinition_Name_Set", (PyCFunction) _wrap__api_api_ClassDefinition_Name_Set, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_Name_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: char *" },
5801
- {(char *) "api_ClassDefinition_PublicVariables_Get", (PyCFunction) _wrap__api_api_ClassDefinition_PublicVariables_Get, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_PublicVariables_Get(handle)\n\ntype: handle: int64_t" },
5802
- {(char *) "api_ClassDefinition_PublicVariables_Set", (PyCFunction) _wrap__api_api_ClassDefinition_PublicVariables_Set, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_PublicVariables_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5803
- {(char *) "api_ClassDefinition_PrivateVariables_Get", (PyCFunction) _wrap__api_api_ClassDefinition_PrivateVariables_Get, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_PrivateVariables_Get(handle)\n\ntype: handle: int64_t" },
5804
- {(char *) "api_ClassDefinition_PrivateVariables_Set", (PyCFunction) _wrap__api_api_ClassDefinition_PrivateVariables_Set, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_PrivateVariables_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5805
- {(char *) "api_ClassDefinition_SharedVariables_Get", (PyCFunction) _wrap__api_api_ClassDefinition_SharedVariables_Get, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_SharedVariables_Get(handle)\n\ntype: handle: int64_t" },
5806
- {(char *) "api_ClassDefinition_SharedVariables_Set", (PyCFunction) _wrap__api_api_ClassDefinition_SharedVariables_Set, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_SharedVariables_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5807
- {(char *) "api_ClassDefinition_PublicMethods_Get", (PyCFunction) _wrap__api_api_ClassDefinition_PublicMethods_Get, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_PublicMethods_Get(handle)\n\ntype: handle: int64_t" },
5808
- {(char *) "api_ClassDefinition_PublicMethods_Set", (PyCFunction) _wrap__api_api_ClassDefinition_PublicMethods_Set, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_PublicMethods_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5809
- {(char *) "api_ClassDefinition_PrivateMethods_Get", (PyCFunction) _wrap__api_api_ClassDefinition_PrivateMethods_Get, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_PrivateMethods_Get(handle)\n\ntype: handle: int64_t" },
5810
- {(char *) "api_ClassDefinition_PrivateMethods_Set", (PyCFunction) _wrap__api_api_ClassDefinition_PrivateMethods_Set, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_PrivateMethods_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5811
- {(char *) "api_ClassDefinition_UnknownFunctionHandler_Get", (PyCFunction) _wrap__api_api_ClassDefinition_UnknownFunctionHandler_Get, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_UnknownFunctionHandler_Get(handle)\n\ntype: handle: int64_t" },
5812
- {(char *) "api_ClassDefinition_UnknownFunctionHandler_Set", (PyCFunction) _wrap__api_api_ClassDefinition_UnknownFunctionHandler_Set, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_UnknownFunctionHandler_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5813
- {(char *) "api_ClassMethod_CTor", (PyCFunction) _wrap__api_api_ClassMethod_CTor, METH_NOARGS, "api_ClassMethod_CTor()\n\n" },
5814
- {(char *) "api_ClassMethod_Name_Get", (PyCFunction) _wrap__api_api_ClassMethod_Name_Get, METH_KEYWORDS|METH_VARARGS, "api_ClassMethod_Name_Get(handle)\n\ntype: handle: int64_t" },
5815
- {(char *) "api_ClassMethod_Name_Set", (PyCFunction) _wrap__api_api_ClassMethod_Name_Set, METH_KEYWORDS|METH_VARARGS, "api_ClassMethod_Name_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: char *" },
5816
- {(char *) "api_ClassMethod_Argc_Get", (PyCFunction) _wrap__api_api_ClassMethod_Argc_Get, METH_KEYWORDS|METH_VARARGS, "api_ClassMethod_Argc_Get(handle)\n\ntype: handle: int64_t" },
5817
- {(char *) "api_ClassMethod_Argc_Set", (PyCFunction) _wrap__api_api_ClassMethod_Argc_Set, METH_KEYWORDS|METH_VARARGS, "api_ClassMethod_Argc_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5818
- {(char *) "api_UnknownFunctionHandler_CTor", (PyCFunction) _wrap__api_api_UnknownFunctionHandler_CTor, METH_NOARGS, "api_UnknownFunctionHandler_CTor()\n\n" },
5819
- {(char *) "api_VM_CTor", (PyCFunction) _wrap__api_api_VM_CTor, METH_NOARGS, "api_VM_CTor()\n\n" },
5820
- {(char *) "api_VM_GetCompatibilityShim", (PyCFunction) _wrap__api_api_VM_GetCompatibilityShim, METH_KEYWORDS|METH_VARARGS, "api_VM_GetCompatibilityShim(_handle)\n\ntype: _handle: int64_t" },
5821
- {(char *) "api_VM_Execute", (PyCFunction) _wrap__api_api_VM_Execute, METH_KEYWORDS|METH_VARARGS, "api_VM_Execute(_handle, code)\n\ntype: _handle: int64_t\ntype: code: char *" },
5822
- {(char *) "api_VM_ExecuteWithContext", (PyCFunction) _wrap__api_api_VM_ExecuteWithContext, METH_KEYWORDS|METH_VARARGS, "api_VM_ExecuteWithContext(_handle, ctx, code)\n\ntype: _handle: int64_t\ntype: ctx: int64_t\ntype: code: char *" },
5823
- {(char *) "api_VM_NewObjectInstance", (PyCFunction) _wrap__api_api_VM_NewObjectInstance, METH_KEYWORDS|METH_VARARGS, "api_VM_NewObjectInstance(_handle, className)\n\ntype: _handle: int64_t\ntype: className: char *" },
5824
- {(char *) "api_VM_Call", (PyCFunction) _wrap__api_api_VM_Call, METH_KEYWORDS|METH_VARARGS, "api_VM_Call(_handle, functionName, args)\n\ntype: _handle: int64_t\ntype: functionName: char *\ntype: args: int64_t" },
5825
- {(char *) "api_VM_CallMethod", (PyCFunction) _wrap__api_api_VM_CallMethod, METH_KEYWORDS|METH_VARARGS, "api_VM_CallMethod(_handle, object, methodName, args)\n\ntype: _handle: int64_t\ntype: object: int64_t\ntype: methodName: char *\ntype: args: int64_t" },
5826
- {(char *) "api_VM_DefineVariable", (PyCFunction) _wrap__api_api_VM_DefineVariable, METH_KEYWORDS|METH_VARARGS, "api_VM_DefineVariable(_handle, name, value, constant)\n\ntype: _handle: int64_t\ntype: name: char *\ntype: value: int64_t\ntype: constant: bool" },
5827
- {(char *) "api_VM_SetVariable", (PyCFunction) _wrap__api_api_VM_SetVariable, METH_KEYWORDS|METH_VARARGS, "api_VM_SetVariable(_handle, variableName, value)\n\ntype: _handle: int64_t\ntype: variableName: char *\ntype: value: int64_t" },
5828
- {(char *) "api_VM_GetVariable", (PyCFunction) _wrap__api_api_VM_GetVariable, METH_KEYWORDS|METH_VARARGS, "api_VM_GetVariable(_handle, variableName)\n\ntype: _handle: int64_t\ntype: variableName: char *" },
5829
- {(char *) "api_VM_DefineClass", (PyCFunction) _wrap__api_api_VM_DefineClass, METH_KEYWORDS|METH_VARARGS, "api_VM_DefineClass(_handle, classDef)\n\ntype: _handle: int64_t\ntype: classDef: int64_t" },
5830
5772
  {(char *) "api_VMConfig_CTor", (PyCFunction) _wrap__api_api_VMConfig_CTor, METH_NOARGS, "api_VMConfig_CTor()\n\n" },
5831
5773
  {(char *) "api_VMConfig_Stdout_Get", (PyCFunction) _wrap__api_api_VMConfig_Stdout_Get, METH_KEYWORDS|METH_VARARGS, "api_VMConfig_Stdout_Get(handle)\n\ntype: handle: int64_t" },
5832
5774
  {(char *) "api_VMConfig_Stdout_Set", (PyCFunction) _wrap__api_api_VMConfig_Stdout_Set, METH_KEYWORDS|METH_VARARGS, "api_VMConfig_Stdout_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
@@ -5853,13 +5795,28 @@ static PyMethodDef _api_functions[] = {
5853
5795
  {(char *) "api_VMError_IsTimeoutError", (PyCFunction) _wrap__api_api_VMError_IsTimeoutError, METH_KEYWORDS|METH_VARARGS, "api_VMError_IsTimeoutError(_handle)\n\ntype: _handle: int64_t" },
5854
5796
  {(char *) "api_VMError_IsConversionError", (PyCFunction) _wrap__api_api_VMError_IsConversionError, METH_KEYWORDS|METH_VARARGS, "api_VMError_IsConversionError(_handle)\n\ntype: _handle: int64_t" },
5855
5797
  {(char *) "api_VMError_IsConfigError", (PyCFunction) _wrap__api_api_VMError_IsConfigError, METH_KEYWORDS|METH_VARARGS, "api_VMError_IsConfigError(_handle)\n\ntype: _handle: int64_t" },
5856
- {(char *) "api_ExecutionResult_CTor", (PyCFunction) _wrap__api_api_ExecutionResult_CTor, METH_NOARGS, "api_ExecutionResult_CTor()\n\n" },
5857
- {(char *) "api_ExecutionResult_Value_Get", (PyCFunction) _wrap__api_api_ExecutionResult_Value_Get, METH_KEYWORDS|METH_VARARGS, "api_ExecutionResult_Value_Get(handle)\n\ntype: handle: int64_t" },
5858
- {(char *) "api_ExecutionResult_Value_Set", (PyCFunction) _wrap__api_api_ExecutionResult_Value_Set, METH_KEYWORDS|METH_VARARGS, "api_ExecutionResult_Value_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5859
- {(char *) "api_ExecutionResult_RawValue_Get", (PyCFunction) _wrap__api_api_ExecutionResult_RawValue_Get, METH_KEYWORDS|METH_VARARGS, "api_ExecutionResult_RawValue_Get(handle)\n\ntype: handle: int64_t" },
5860
- {(char *) "api_ExecutionResult_RawValue_Set", (PyCFunction) _wrap__api_api_ExecutionResult_RawValue_Set, METH_KEYWORDS|METH_VARARGS, "api_ExecutionResult_RawValue_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5861
- {(char *) "api_ExecutionResult_Output_Get", (PyCFunction) _wrap__api_api_ExecutionResult_Output_Get, METH_KEYWORDS|METH_VARARGS, "api_ExecutionResult_Output_Get(handle)\n\ntype: handle: int64_t" },
5862
- {(char *) "api_ExecutionResult_Output_Set", (PyCFunction) _wrap__api_api_ExecutionResult_Output_Set, METH_KEYWORDS|METH_VARARGS, "api_ExecutionResult_Output_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: char *" },
5798
+ {(char *) "api_ClassDefinition_CTor", (PyCFunction) _wrap__api_api_ClassDefinition_CTor, METH_NOARGS, "api_ClassDefinition_CTor()\n\n" },
5799
+ {(char *) "api_ClassDefinition_Name_Get", (PyCFunction) _wrap__api_api_ClassDefinition_Name_Get, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_Name_Get(handle)\n\ntype: handle: int64_t" },
5800
+ {(char *) "api_ClassDefinition_Name_Set", (PyCFunction) _wrap__api_api_ClassDefinition_Name_Set, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_Name_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: char *" },
5801
+ {(char *) "api_ClassDefinition_PublicVariables_Get", (PyCFunction) _wrap__api_api_ClassDefinition_PublicVariables_Get, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_PublicVariables_Get(handle)\n\ntype: handle: int64_t" },
5802
+ {(char *) "api_ClassDefinition_PublicVariables_Set", (PyCFunction) _wrap__api_api_ClassDefinition_PublicVariables_Set, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_PublicVariables_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5803
+ {(char *) "api_ClassDefinition_PrivateVariables_Get", (PyCFunction) _wrap__api_api_ClassDefinition_PrivateVariables_Get, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_PrivateVariables_Get(handle)\n\ntype: handle: int64_t" },
5804
+ {(char *) "api_ClassDefinition_PrivateVariables_Set", (PyCFunction) _wrap__api_api_ClassDefinition_PrivateVariables_Set, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_PrivateVariables_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5805
+ {(char *) "api_ClassDefinition_SharedVariables_Get", (PyCFunction) _wrap__api_api_ClassDefinition_SharedVariables_Get, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_SharedVariables_Get(handle)\n\ntype: handle: int64_t" },
5806
+ {(char *) "api_ClassDefinition_SharedVariables_Set", (PyCFunction) _wrap__api_api_ClassDefinition_SharedVariables_Set, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_SharedVariables_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5807
+ {(char *) "api_ClassDefinition_PublicMethods_Get", (PyCFunction) _wrap__api_api_ClassDefinition_PublicMethods_Get, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_PublicMethods_Get(handle)\n\ntype: handle: int64_t" },
5808
+ {(char *) "api_ClassDefinition_PublicMethods_Set", (PyCFunction) _wrap__api_api_ClassDefinition_PublicMethods_Set, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_PublicMethods_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5809
+ {(char *) "api_ClassDefinition_PrivateMethods_Get", (PyCFunction) _wrap__api_api_ClassDefinition_PrivateMethods_Get, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_PrivateMethods_Get(handle)\n\ntype: handle: int64_t" },
5810
+ {(char *) "api_ClassDefinition_PrivateMethods_Set", (PyCFunction) _wrap__api_api_ClassDefinition_PrivateMethods_Set, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_PrivateMethods_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5811
+ {(char *) "api_ClassDefinition_UnknownFunctionHandler_Get", (PyCFunction) _wrap__api_api_ClassDefinition_UnknownFunctionHandler_Get, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_UnknownFunctionHandler_Get(handle)\n\ntype: handle: int64_t" },
5812
+ {(char *) "api_ClassDefinition_UnknownFunctionHandler_Set", (PyCFunction) _wrap__api_api_ClassDefinition_UnknownFunctionHandler_Set, METH_KEYWORDS|METH_VARARGS, "api_ClassDefinition_UnknownFunctionHandler_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5813
+ {(char *) "api_ClassVariable_CTor", (PyCFunction) _wrap__api_api_ClassVariable_CTor, METH_NOARGS, "api_ClassVariable_CTor()\n\n" },
5814
+ {(char *) "api_ClassVariable_Name_Get", (PyCFunction) _wrap__api_api_ClassVariable_Name_Get, METH_KEYWORDS|METH_VARARGS, "api_ClassVariable_Name_Get(handle)\n\ntype: handle: int64_t" },
5815
+ {(char *) "api_ClassVariable_Name_Set", (PyCFunction) _wrap__api_api_ClassVariable_Name_Set, METH_KEYWORDS|METH_VARARGS, "api_ClassVariable_Name_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: char *" },
5816
+ {(char *) "api_ClassVariable_Value_Get", (PyCFunction) _wrap__api_api_ClassVariable_Value_Get, METH_KEYWORDS|METH_VARARGS, "api_ClassVariable_Value_Get(handle)\n\ntype: handle: int64_t" },
5817
+ {(char *) "api_ClassVariable_Value_Set", (PyCFunction) _wrap__api_api_ClassVariable_Value_Set, METH_KEYWORDS|METH_VARARGS, "api_ClassVariable_Value_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5818
+ {(char *) "api_ClassVariable_Locked_Get", (PyCFunction) _wrap__api_api_ClassVariable_Locked_Get, METH_KEYWORDS|METH_VARARGS, "api_ClassVariable_Locked_Get(handle)\n\ntype: handle: int64_t" },
5819
+ {(char *) "api_ClassVariable_Locked_Set", (PyCFunction) _wrap__api_api_ClassVariable_Locked_Set, METH_KEYWORDS|METH_VARARGS, "api_ClassVariable_Locked_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: bool" },
5863
5820
  {(char *) "api_GoValue_CTor", (PyCFunction) _wrap__api_api_GoValue_CTor, METH_NOARGS, "api_GoValue_CTor()\n\n" },
5864
5821
  {(char *) "api_GoValue_ID", (PyCFunction) _wrap__api_api_GoValue_ID, METH_KEYWORDS|METH_VARARGS, "api_GoValue_ID(_handle)\n\ntype: _handle: int64_t" },
5865
5822
  {(char *) "api_GoValue_MarshalJSON", (PyCFunction) _wrap__api_api_GoValue_MarshalJSON, METH_KEYWORDS|METH_VARARGS, "api_GoValue_MarshalJSON(_handle)\n\ntype: _handle: int64_t" },
@@ -5871,24 +5828,67 @@ static PyMethodDef _api_functions[] = {
5871
5828
  {(char *) "api_GoValue_Slice", (PyCFunction) _wrap__api_api_GoValue_Slice, METH_KEYWORDS|METH_VARARGS, "api_GoValue_Slice(_handle)\n\ntype: _handle: int64_t" },
5872
5829
  {(char *) "api_GoValue_Map", (PyCFunction) _wrap__api_api_GoValue_Map, METH_KEYWORDS|METH_VARARGS, "api_GoValue_Map(_handle)\n\ntype: _handle: int64_t" },
5873
5830
  {(char *) "api_GoValue_Object", (PyCFunction) _wrap__api_api_GoValue_Object, METH_KEYWORDS|METH_VARARGS, "api_GoValue_Object(_handle)\n\ntype: _handle: int64_t" },
5874
- {(char *) "api_NewClassDefinition", (PyCFunction) _wrap__api_api_NewClassDefinition, METH_NOARGS, "api_NewClassDefinition()\n\n" },
5875
- {(char *) "api_NewVM", (PyCFunction) _wrap__api_api_NewVM, METH_KEYWORDS|METH_VARARGS, "api_NewVM(config)\n\ntype: config: int64_t" },
5831
+ {(char *) "api_SourceLocation_CTor", (PyCFunction) _wrap__api_api_SourceLocation_CTor, METH_NOARGS, "api_SourceLocation_CTor()\n\n" },
5832
+ {(char *) "api_SourceLocation_Filename_Get", (PyCFunction) _wrap__api_api_SourceLocation_Filename_Get, METH_KEYWORDS|METH_VARARGS, "api_SourceLocation_Filename_Get(handle)\n\ntype: handle: int64_t" },
5833
+ {(char *) "api_SourceLocation_Filename_Set", (PyCFunction) _wrap__api_api_SourceLocation_Filename_Set, METH_KEYWORDS|METH_VARARGS, "api_SourceLocation_Filename_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: char *" },
5834
+ {(char *) "api_SourceLocation_Line_Get", (PyCFunction) _wrap__api_api_SourceLocation_Line_Get, METH_KEYWORDS|METH_VARARGS, "api_SourceLocation_Line_Get(handle)\n\ntype: handle: int64_t" },
5835
+ {(char *) "api_SourceLocation_Line_Set", (PyCFunction) _wrap__api_api_SourceLocation_Line_Set, METH_KEYWORDS|METH_VARARGS, "api_SourceLocation_Line_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5836
+ {(char *) "api_SourceLocation_Column_Get", (PyCFunction) _wrap__api_api_SourceLocation_Column_Get, METH_KEYWORDS|METH_VARARGS, "api_SourceLocation_Column_Get(handle)\n\ntype: handle: int64_t" },
5837
+ {(char *) "api_SourceLocation_Column_Set", (PyCFunction) _wrap__api_api_SourceLocation_Column_Set, METH_KEYWORDS|METH_VARARGS, "api_SourceLocation_Column_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5838
+ {(char *) "api_UnknownFunctionHandler_CTor", (PyCFunction) _wrap__api_api_UnknownFunctionHandler_CTor, METH_NOARGS, "api_UnknownFunctionHandler_CTor()\n\n" },
5839
+ {(char *) "api_VM_CTor", (PyCFunction) _wrap__api_api_VM_CTor, METH_NOARGS, "api_VM_CTor()\n\n" },
5840
+ {(char *) "api_VM_GetCompatibilityShim", (PyCFunction) _wrap__api_api_VM_GetCompatibilityShim, METH_KEYWORDS|METH_VARARGS, "api_VM_GetCompatibilityShim(_handle)\n\ntype: _handle: int64_t" },
5841
+ {(char *) "api_VM_Execute", (PyCFunction) _wrap__api_api_VM_Execute, METH_KEYWORDS|METH_VARARGS, "api_VM_Execute(_handle, code)\n\ntype: _handle: int64_t\ntype: code: char *" },
5842
+ {(char *) "api_VM_ExecuteWithContext", (PyCFunction) _wrap__api_api_VM_ExecuteWithContext, METH_KEYWORDS|METH_VARARGS, "api_VM_ExecuteWithContext(_handle, ctx, code)\n\ntype: _handle: int64_t\ntype: ctx: int64_t\ntype: code: char *" },
5843
+ {(char *) "api_VM_NewObjectInstance", (PyCFunction) _wrap__api_api_VM_NewObjectInstance, METH_KEYWORDS|METH_VARARGS, "api_VM_NewObjectInstance(_handle, className)\n\ntype: _handle: int64_t\ntype: className: char *" },
5844
+ {(char *) "api_VM_Call", (PyCFunction) _wrap__api_api_VM_Call, METH_KEYWORDS|METH_VARARGS, "api_VM_Call(_handle, functionName, args)\n\ntype: _handle: int64_t\ntype: functionName: char *\ntype: args: int64_t" },
5845
+ {(char *) "api_VM_CallMethod", (PyCFunction) _wrap__api_api_VM_CallMethod, METH_KEYWORDS|METH_VARARGS, "api_VM_CallMethod(_handle, object, methodName, args)\n\ntype: _handle: int64_t\ntype: object: int64_t\ntype: methodName: char *\ntype: args: int64_t" },
5846
+ {(char *) "api_VM_DefineVariable", (PyCFunction) _wrap__api_api_VM_DefineVariable, METH_KEYWORDS|METH_VARARGS, "api_VM_DefineVariable(_handle, name, value, constant)\n\ntype: _handle: int64_t\ntype: name: char *\ntype: value: int64_t\ntype: constant: bool" },
5847
+ {(char *) "api_VM_SetVariable", (PyCFunction) _wrap__api_api_VM_SetVariable, METH_KEYWORDS|METH_VARARGS, "api_VM_SetVariable(_handle, variableName, value)\n\ntype: _handle: int64_t\ntype: variableName: char *\ntype: value: int64_t" },
5848
+ {(char *) "api_VM_GetVariable", (PyCFunction) _wrap__api_api_VM_GetVariable, METH_KEYWORDS|METH_VARARGS, "api_VM_GetVariable(_handle, variableName)\n\ntype: _handle: int64_t\ntype: variableName: char *" },
5849
+ {(char *) "api_VM_DefineClass", (PyCFunction) _wrap__api_api_VM_DefineClass, METH_KEYWORDS|METH_VARARGS, "api_VM_DefineClass(_handle, classDef)\n\ntype: _handle: int64_t\ntype: classDef: int64_t" },
5850
+ {(char *) "api_ClassMethod_CTor", (PyCFunction) _wrap__api_api_ClassMethod_CTor, METH_NOARGS, "api_ClassMethod_CTor()\n\n" },
5851
+ {(char *) "api_ClassMethod_Name_Get", (PyCFunction) _wrap__api_api_ClassMethod_Name_Get, METH_KEYWORDS|METH_VARARGS, "api_ClassMethod_Name_Get(handle)\n\ntype: handle: int64_t" },
5852
+ {(char *) "api_ClassMethod_Name_Set", (PyCFunction) _wrap__api_api_ClassMethod_Name_Set, METH_KEYWORDS|METH_VARARGS, "api_ClassMethod_Name_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: char *" },
5853
+ {(char *) "api_ClassMethod_Argc_Get", (PyCFunction) _wrap__api_api_ClassMethod_Argc_Get, METH_KEYWORDS|METH_VARARGS, "api_ClassMethod_Argc_Get(handle)\n\ntype: handle: int64_t" },
5854
+ {(char *) "api_ClassMethod_Argc_Set", (PyCFunction) _wrap__api_api_ClassMethod_Argc_Set, METH_KEYWORDS|METH_VARARGS, "api_ClassMethod_Argc_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5855
+ {(char *) "api_ExecutionResult_CTor", (PyCFunction) _wrap__api_api_ExecutionResult_CTor, METH_NOARGS, "api_ExecutionResult_CTor()\n\n" },
5856
+ {(char *) "api_ExecutionResult_Value_Get", (PyCFunction) _wrap__api_api_ExecutionResult_Value_Get, METH_KEYWORDS|METH_VARARGS, "api_ExecutionResult_Value_Get(handle)\n\ntype: handle: int64_t" },
5857
+ {(char *) "api_ExecutionResult_Value_Set", (PyCFunction) _wrap__api_api_ExecutionResult_Value_Set, METH_KEYWORDS|METH_VARARGS, "api_ExecutionResult_Value_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5858
+ {(char *) "api_ExecutionResult_RawValue_Get", (PyCFunction) _wrap__api_api_ExecutionResult_RawValue_Get, METH_KEYWORDS|METH_VARARGS, "api_ExecutionResult_RawValue_Get(handle)\n\ntype: handle: int64_t" },
5859
+ {(char *) "api_ExecutionResult_RawValue_Set", (PyCFunction) _wrap__api_api_ExecutionResult_RawValue_Set, METH_KEYWORDS|METH_VARARGS, "api_ExecutionResult_RawValue_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5860
+ {(char *) "api_ExecutionResult_Output_Get", (PyCFunction) _wrap__api_api_ExecutionResult_Output_Get, METH_KEYWORDS|METH_VARARGS, "api_ExecutionResult_Output_Get(handle)\n\ntype: handle: int64_t" },
5861
+ {(char *) "api_ExecutionResult_Output_Set", (PyCFunction) _wrap__api_api_ExecutionResult_Output_Set, METH_KEYWORDS|METH_VARARGS, "api_ExecutionResult_Output_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: char *" },
5862
+ {(char *) "api_VMCompatibilityShim_CTor", (PyCFunction) _wrap__api_api_VMCompatibilityShim_CTor, METH_NOARGS, "api_VMCompatibilityShim_CTor()\n\n" },
5863
+ {(char *) "api_VMCompatibilityShim_DefineFunction", (PyCFunction) _wrap__api_api_VMCompatibilityShim_DefineFunction, METH_KEYWORDS|METH_VARARGS, "api_VMCompatibilityShim_DefineFunction(_handle, id, name, argc, function)\n\ntype: _handle: int64_t\ntype: id: char *\ntype: name: char *\ntype: argc: int64_t\ntype: function: PyObject *" },
5864
+ {(char *) "api_VMCompatibilityShim_BuildNewClassVariableWithGetter", (PyCFunction) _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithGetter, METH_KEYWORDS|METH_VARARGS, "api_VMCompatibilityShim_BuildNewClassVariableWithGetter(_handle, variable, getterID, getter)\n\ntype: _handle: int64_t\ntype: variable: int64_t\ntype: getterID: char *\ntype: getter: PyObject *" },
5865
+ {(char *) "api_VMCompatibilityShim_BuildNewClassVariableWithSetter", (PyCFunction) _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithSetter, METH_KEYWORDS|METH_VARARGS, "api_VMCompatibilityShim_BuildNewClassVariableWithSetter(_handle, variable, setterID, setter)\n\ntype: _handle: int64_t\ntype: variable: int64_t\ntype: setterID: char *\ntype: setter: PyObject *" },
5866
+ {(char *) "api_VMCompatibilityShim_BuildNewClassMethod", (PyCFunction) _wrap__api_api_VMCompatibilityShim_BuildNewClassMethod, METH_KEYWORDS|METH_VARARGS, "api_VMCompatibilityShim_BuildNewClassMethod(_handle, method, id, function)\n\ntype: _handle: int64_t\ntype: method: int64_t\ntype: id: char *\ntype: function: PyObject *" },
5867
+ {(char *) "api_VMCompatibilityShim_BuildNewUnknownFunctionHandler", (PyCFunction) _wrap__api_api_VMCompatibilityShim_BuildNewUnknownFunctionHandler, METH_KEYWORDS|METH_VARARGS, "api_VMCompatibilityShim_BuildNewUnknownFunctionHandler(_handle, id, function)\n\ntype: _handle: int64_t\ntype: id: char *\ntype: function: PyObject *" },
5868
+ {(char *) "api_VMCompatibilityShim_IsClassDefined", (PyCFunction) _wrap__api_api_VMCompatibilityShim_IsClassDefined, METH_KEYWORDS|METH_VARARGS, "api_VMCompatibilityShim_IsClassDefined(_handle, name)\n\ntype: _handle: int64_t\ntype: name: char *" },
5869
+ {(char *) "api_VMCompatibilityShim_LookupObject", (PyCFunction) _wrap__api_api_VMCompatibilityShim_LookupObject, METH_KEYWORDS|METH_VARARGS, "api_VMCompatibilityShim_LookupObject(_handle, id)\n\ntype: _handle: int64_t\ntype: id: char *" },
5870
+ {(char *) "api_VMCompatibilityShim_GetObjectMRO", (PyCFunction) _wrap__api_api_VMCompatibilityShim_GetObjectMRO, METH_KEYWORDS|METH_VARARGS, "api_VMCompatibilityShim_GetObjectMRO(_handle, id)\n\ntype: _handle: int64_t\ntype: id: char *" },
5871
+ {(char *) "api_VMCompatibilityShim_GetObjectImmediateFunctions", (PyCFunction) _wrap__api_api_VMCompatibilityShim_GetObjectImmediateFunctions, METH_KEYWORDS|METH_VARARGS, "api_VMCompatibilityShim_GetObjectImmediateFunctions(_handle, id)\n\ntype: _handle: int64_t\ntype: id: char *" },
5872
+ {(char *) "api_VMCompatibilityShim_GetObjectImmediateVariables", (PyCFunction) _wrap__api_api_VMCompatibilityShim_GetObjectImmediateVariables, METH_KEYWORDS|METH_VARARGS, "api_VMCompatibilityShim_GetObjectImmediateVariables(_handle, id)\n\ntype: _handle: int64_t\ntype: id: char *" },
5873
+ {(char *) "api_VMCompatibilityShim_AddVariableToObject", (PyCFunction) _wrap__api_api_VMCompatibilityShim_AddVariableToObject, METH_KEYWORDS|METH_VARARGS, "api_VMCompatibilityShim_AddVariableToObject(_handle, id, variable)\n\ntype: _handle: int64_t\ntype: id: char *\ntype: variable: int64_t" },
5876
5874
  {(char *) "api_DefaultConfig", (PyCFunction) _wrap__api_api_DefaultConfig, METH_NOARGS, "api_DefaultConfig()\n\n" },
5877
- {(char *) "api_NewConversionError", (PyCFunction) _wrap__api_api_NewConversionError, METH_KEYWORDS|METH_VARARGS, "api_NewConversionError(message, wrapped)\n\ntype: message: char *\ntype: wrapped: char *" },
5878
- {(char *) "api_NewTimeoutError", (PyCFunction) _wrap__api_api_NewTimeoutError, METH_KEYWORDS|METH_VARARGS, "api_NewTimeoutError(duration)\n\ntype: duration: int64_t" },
5879
5875
  {(char *) "api_NewRuntimeError", (PyCFunction) _wrap__api_api_NewRuntimeError, METH_KEYWORDS|METH_VARARGS, "api_NewRuntimeError(message, source)\n\ntype: message: char *\ntype: source: int64_t" },
5880
- {(char *) "api_NewConfigError", (PyCFunction) _wrap__api_api_NewConfigError, METH_KEYWORDS|METH_VARARGS, "api_NewConfigError(message, wrapped)\n\ntype: message: char *\ntype: wrapped: char *" },
5876
+ {(char *) "api_NewTimeoutError", (PyCFunction) _wrap__api_api_NewTimeoutError, METH_KEYWORDS|METH_VARARGS, "api_NewTimeoutError(duration)\n\ntype: duration: int64_t" },
5877
+ {(char *) "api_NewConversionError", (PyCFunction) _wrap__api_api_NewConversionError, METH_KEYWORDS|METH_VARARGS, "api_NewConversionError(message, wrapped)\n\ntype: message: char *\ntype: wrapped: char *" },
5881
5878
  {(char *) "api_NewCompileError", (PyCFunction) _wrap__api_api_NewCompileError, METH_KEYWORDS|METH_VARARGS, "api_NewCompileError(message, source)\n\ntype: message: char *\ntype: source: int64_t" },
5882
- {(char *) "api_WrapObject", (PyCFunction) _wrap__api_api_WrapObject, METH_KEYWORDS|METH_VARARGS, "api_WrapObject(value)\n\ntype: value: int64_t" },
5883
- {(char *) "api_WrapFloat", (PyCFunction) _wrap__api_api_WrapFloat, METH_KEYWORDS|METH_VARARGS, "api_WrapFloat(value)\n\ntype: value: double" },
5884
- {(char *) "api_ToGoValue", (PyCFunction) _wrap__api_api_ToGoValue, METH_KEYWORDS|METH_VARARGS, "api_ToGoValue(val)\n\ntype: val: int64_t" },
5879
+ {(char *) "api_NewConfigError", (PyCFunction) _wrap__api_api_NewConfigError, METH_KEYWORDS|METH_VARARGS, "api_NewConfigError(message, wrapped)\n\ntype: message: char *\ntype: wrapped: char *" },
5880
+ {(char *) "api_NewClassDefinition", (PyCFunction) _wrap__api_api_NewClassDefinition, METH_NOARGS, "api_NewClassDefinition()\n\n" },
5885
5881
  {(char *) "api_WrapAny", (PyCFunction) _wrap__api_api_WrapAny, METH_KEYWORDS|METH_VARARGS, "api_WrapAny(value)\n\ntype: value: char *" },
5882
+ {(char *) "api_WrapFloat", (PyCFunction) _wrap__api_api_WrapFloat, METH_KEYWORDS|METH_VARARGS, "api_WrapFloat(value)\n\ntype: value: double" },
5886
5883
  {(char *) "api_WrapInt", (PyCFunction) _wrap__api_api_WrapInt, METH_KEYWORDS|METH_VARARGS, "api_WrapInt(value)\n\ntype: value: int64_t" },
5887
- {(char *) "api_WrapString", (PyCFunction) _wrap__api_api_WrapString, METH_KEYWORDS|METH_VARARGS, "api_WrapString(value)\n\ntype: value: char *" },
5884
+ {(char *) "api_WrapObject", (PyCFunction) _wrap__api_api_WrapObject, METH_KEYWORDS|METH_VARARGS, "api_WrapObject(value)\n\ntype: value: int64_t" },
5885
+ {(char *) "api_ToGoValue", (PyCFunction) _wrap__api_api_ToGoValue, METH_KEYWORDS|METH_VARARGS, "api_ToGoValue(val)\n\ntype: val: int64_t" },
5888
5886
  {(char *) "api_WrapBool", (PyCFunction) _wrap__api_api_WrapBool, METH_KEYWORDS|METH_VARARGS, "api_WrapBool(value)\n\ntype: value: bool" },
5889
- {(char *) "api_FromGoValue", (PyCFunction) _wrap__api_api_FromGoValue, METH_KEYWORDS|METH_VARARGS, "api_FromGoValue(val)\n\ntype: val: int64_t" },
5887
+ {(char *) "api_WrapString", (PyCFunction) _wrap__api_api_WrapString, METH_KEYWORDS|METH_VARARGS, "api_WrapString(value)\n\ntype: value: char *" },
5888
+ {(char *) "api_NewVM", (PyCFunction) _wrap__api_api_NewVM, METH_KEYWORDS|METH_VARARGS, "api_NewVM(config)\n\ntype: config: int64_t" },
5890
5889
  {(char *) "api_LookupObject", (PyCFunction) _wrap__api_api_LookupObject, METH_KEYWORDS|METH_VARARGS, "api_LookupObject(id)\n\ntype: id: char *" },
5891
5890
  {(char *) "api_ConvertArguments", (PyCFunction) _wrap__api_api_ConvertArguments, METH_KEYWORDS|METH_VARARGS, "api_ConvertArguments(args)\n\ntype: args: int64_t" },
5891
+ {(char *) "api_FromGoValue", (PyCFunction) _wrap__api_api_FromGoValue, METH_KEYWORDS|METH_VARARGS, "api_FromGoValue(val)\n\ntype: val: int64_t" },
5892
5892
  {NULL, NULL, 0, NULL}
5893
5893
  };
5894
5894
  #if PY_VERSION_HEX >= 0x03000000