objective-lol 0.0.1__cp311-cp311-win_amd64.whl → 0.0.2__cp311-cp311-win_amd64.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
@@ -3246,6 +3246,106 @@ _wrap__api_Map_string_api_GoValue_keys(PyObject * PYBINDGEN_UNUSED(dummy), PyObj
3246
3246
  PyObject * _wrap__api_Map_string_api_GoValue_keys(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3247
3247
 
3248
3248
 
3249
+ PyObject *
3250
+ _wrap__api_api_UnknownFunctionHandler_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
3251
+ {
3252
+ PyObject *py_retval;
3253
+ int64_t retval;
3254
+
3255
+ retval = api_UnknownFunctionHandler_CTor();
3256
+ py_retval = Py_BuildValue((char *) "L", retval);
3257
+ return py_retval;
3258
+ }
3259
+ PyObject * _wrap__api_api_UnknownFunctionHandler_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
3260
+
3261
+
3262
+ PyObject *
3263
+ _wrap__api_api_ClassMethod_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
3264
+ {
3265
+ PyObject *py_retval;
3266
+ int64_t retval;
3267
+
3268
+ retval = api_ClassMethod_CTor();
3269
+ py_retval = Py_BuildValue((char *) "L", retval);
3270
+ return py_retval;
3271
+ }
3272
+ PyObject * _wrap__api_api_ClassMethod_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
3273
+
3274
+
3275
+ PyObject *
3276
+ _wrap__api_api_ClassMethod_Name_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3277
+ {
3278
+ PyObject *py_retval;
3279
+ char *retval;
3280
+ int64_t handle;
3281
+ const char *keywords[] = {"handle", NULL};
3282
+
3283
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
3284
+ return NULL;
3285
+ }
3286
+ retval = api_ClassMethod_Name_Get(handle);
3287
+ py_retval = Py_BuildValue((char *) "s", retval);
3288
+ return py_retval;
3289
+ }
3290
+ PyObject * _wrap__api_api_ClassMethod_Name_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3291
+
3292
+
3293
+ PyObject *
3294
+ _wrap__api_api_ClassMethod_Name_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3295
+ {
3296
+ PyObject *py_retval;
3297
+ int64_t handle;
3298
+ char *val;
3299
+ const char *keywords[] = {"handle", "val", NULL};
3300
+
3301
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
3302
+ return NULL;
3303
+ }
3304
+ api_ClassMethod_Name_Set(handle, val);
3305
+ Py_INCREF(Py_None);
3306
+ py_retval = Py_None;
3307
+ return py_retval;
3308
+ }
3309
+ PyObject * _wrap__api_api_ClassMethod_Name_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3310
+
3311
+
3312
+ PyObject *
3313
+ _wrap__api_api_ClassMethod_Argc_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3314
+ {
3315
+ PyObject *py_retval;
3316
+ int64_t retval;
3317
+ int64_t handle;
3318
+ const char *keywords[] = {"handle", NULL};
3319
+
3320
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
3321
+ return NULL;
3322
+ }
3323
+ retval = api_ClassMethod_Argc_Get(handle);
3324
+ py_retval = Py_BuildValue((char *) "L", retval);
3325
+ return py_retval;
3326
+ }
3327
+ PyObject * _wrap__api_api_ClassMethod_Argc_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3328
+
3329
+
3330
+ PyObject *
3331
+ _wrap__api_api_ClassMethod_Argc_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3332
+ {
3333
+ PyObject *py_retval;
3334
+ int64_t handle;
3335
+ int64_t val;
3336
+ const char *keywords[] = {"handle", "val", NULL};
3337
+
3338
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
3339
+ return NULL;
3340
+ }
3341
+ api_ClassMethod_Argc_Set(handle, val);
3342
+ Py_INCREF(Py_None);
3343
+ py_retval = Py_None;
3344
+ return py_retval;
3345
+ }
3346
+ PyObject * _wrap__api_api_ClassMethod_Argc_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3347
+
3348
+
3249
3349
  PyObject *
3250
3350
  _wrap__api_api_SourceLocation_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
3251
3351
  {
@@ -3371,1056 +3471,917 @@ PyObject * _wrap__api_api_SourceLocation_Column_Set(PyObject * PYBINDGEN_UNUSED(
3371
3471
 
3372
3472
 
3373
3473
  PyObject *
3374
- _wrap__api_api_VM_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
3474
+ _wrap__api_api_ExecutionResult_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
3375
3475
  {
3376
3476
  PyObject *py_retval;
3377
3477
  int64_t retval;
3378
3478
 
3379
- retval = api_VM_CTor();
3479
+ retval = api_ExecutionResult_CTor();
3380
3480
  py_retval = Py_BuildValue((char *) "L", retval);
3381
3481
  return py_retval;
3382
3482
  }
3383
- PyObject * _wrap__api_api_VM_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
3483
+ PyObject * _wrap__api_api_ExecutionResult_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
3384
3484
 
3385
3485
 
3386
3486
  PyObject *
3387
- _wrap__api_api_VM_GetCompatibilityShim(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3487
+ _wrap__api_api_ExecutionResult_Value_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3388
3488
  {
3389
3489
  PyObject *py_retval;
3390
3490
  int64_t retval;
3391
- int64_t _handle;
3392
- const char *keywords[] = {"_handle", NULL};
3491
+ int64_t handle;
3492
+ const char *keywords[] = {"handle", NULL};
3393
3493
 
3394
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3395
- return NULL;
3396
- }
3397
- retval = api_VM_GetCompatibilityShim(_handle);
3398
- if (PyErr_Occurred()) {
3494
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
3399
3495
  return NULL;
3400
3496
  }
3497
+ retval = api_ExecutionResult_Value_Get(handle);
3401
3498
  py_retval = Py_BuildValue((char *) "L", retval);
3402
3499
  return py_retval;
3403
3500
  }
3404
- PyObject * _wrap__api_api_VM_GetCompatibilityShim(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3501
+ PyObject * _wrap__api_api_ExecutionResult_Value_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3405
3502
 
3406
3503
 
3407
3504
  PyObject *
3408
- _wrap__api_api_VM_Execute(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3505
+ _wrap__api_api_ExecutionResult_Value_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3409
3506
  {
3410
3507
  PyObject *py_retval;
3411
- int64_t retval;
3412
- int64_t _handle;
3413
- char *code;
3414
- const char *keywords[] = {"_handle", "code", NULL};
3508
+ int64_t handle;
3509
+ int64_t val;
3510
+ const char *keywords[] = {"handle", "val", NULL};
3415
3511
 
3416
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &code)) {
3417
- return NULL;
3418
- }
3419
- retval = api_VM_Execute(_handle, code);
3420
- if (PyErr_Occurred()) {
3512
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
3421
3513
  return NULL;
3422
3514
  }
3423
- py_retval = Py_BuildValue((char *) "L", retval);
3515
+ api_ExecutionResult_Value_Set(handle, val);
3516
+ Py_INCREF(Py_None);
3517
+ py_retval = Py_None;
3424
3518
  return py_retval;
3425
3519
  }
3426
- PyObject * _wrap__api_api_VM_Execute(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3520
+ PyObject * _wrap__api_api_ExecutionResult_Value_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3427
3521
 
3428
3522
 
3429
3523
  PyObject *
3430
- _wrap__api_api_VM_ExecuteWithContext(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3524
+ _wrap__api_api_ExecutionResult_RawValue_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3431
3525
  {
3432
3526
  PyObject *py_retval;
3433
3527
  int64_t retval;
3434
- int64_t _handle;
3435
- int64_t ctx;
3436
- char *code;
3437
- const char *keywords[] = {"_handle", "ctx", "code", NULL};
3528
+ int64_t handle;
3529
+ const char *keywords[] = {"handle", NULL};
3438
3530
 
3439
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLs", (char **) keywords, &_handle, &ctx, &code)) {
3440
- return NULL;
3441
- }
3442
- retval = api_VM_ExecuteWithContext(_handle, ctx, code);
3443
- if (PyErr_Occurred()) {
3531
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
3444
3532
  return NULL;
3445
3533
  }
3534
+ retval = api_ExecutionResult_RawValue_Get(handle);
3446
3535
  py_retval = Py_BuildValue((char *) "L", retval);
3447
3536
  return py_retval;
3448
3537
  }
3449
- PyObject * _wrap__api_api_VM_ExecuteWithContext(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3538
+ PyObject * _wrap__api_api_ExecutionResult_RawValue_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3450
3539
 
3451
3540
 
3452
3541
  PyObject *
3453
- _wrap__api_api_VM_NewObjectInstance(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3542
+ _wrap__api_api_ExecutionResult_RawValue_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3454
3543
  {
3455
3544
  PyObject *py_retval;
3456
- int64_t retval;
3457
- int64_t _handle;
3458
- char *className;
3459
- const char *keywords[] = {"_handle", "className", NULL};
3545
+ int64_t handle;
3546
+ int64_t val;
3547
+ const char *keywords[] = {"handle", "val", NULL};
3460
3548
 
3461
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &className)) {
3462
- return NULL;
3463
- }
3464
- retval = api_VM_NewObjectInstance(_handle, className);
3465
- if (PyErr_Occurred()) {
3549
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
3466
3550
  return NULL;
3467
3551
  }
3468
- py_retval = Py_BuildValue((char *) "L", retval);
3552
+ api_ExecutionResult_RawValue_Set(handle, val);
3553
+ Py_INCREF(Py_None);
3554
+ py_retval = Py_None;
3469
3555
  return py_retval;
3470
3556
  }
3471
- PyObject * _wrap__api_api_VM_NewObjectInstance(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3557
+ PyObject * _wrap__api_api_ExecutionResult_RawValue_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3472
3558
 
3473
3559
 
3474
3560
  PyObject *
3475
- _wrap__api_api_VM_Call(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3561
+ _wrap__api_api_ExecutionResult_Output_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3476
3562
  {
3477
3563
  PyObject *py_retval;
3478
- int64_t retval;
3479
- int64_t _handle;
3480
- char *functionName;
3481
- int64_t args2;
3482
- const char *keywords[] = {"_handle", "functionName", "args", NULL};
3564
+ char *retval;
3565
+ int64_t handle;
3566
+ const char *keywords[] = {"handle", NULL};
3483
3567
 
3484
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsL", (char **) keywords, &_handle, &functionName, &args2)) {
3568
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
3485
3569
  return NULL;
3486
3570
  }
3487
- retval = api_VM_Call(_handle, functionName, args2);
3488
- if (PyErr_Occurred()) {
3571
+ retval = api_ExecutionResult_Output_Get(handle);
3572
+ py_retval = Py_BuildValue((char *) "s", retval);
3573
+ return py_retval;
3574
+ }
3575
+ PyObject * _wrap__api_api_ExecutionResult_Output_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3576
+
3577
+
3578
+ PyObject *
3579
+ _wrap__api_api_ExecutionResult_Output_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3580
+ {
3581
+ PyObject *py_retval;
3582
+ int64_t handle;
3583
+ char *val;
3584
+ const char *keywords[] = {"handle", "val", NULL};
3585
+
3586
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
3489
3587
  return NULL;
3490
3588
  }
3491
- py_retval = Py_BuildValue((char *) "L", retval);
3589
+ api_ExecutionResult_Output_Set(handle, val);
3590
+ Py_INCREF(Py_None);
3591
+ py_retval = Py_None;
3492
3592
  return py_retval;
3493
3593
  }
3494
- PyObject * _wrap__api_api_VM_Call(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3594
+ PyObject * _wrap__api_api_ExecutionResult_Output_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3495
3595
 
3496
3596
 
3497
3597
  PyObject *
3498
- _wrap__api_api_VM_CallMethod(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3598
+ _wrap__api_api_GoValue_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
3499
3599
  {
3500
3600
  PyObject *py_retval;
3501
3601
  int64_t retval;
3502
- int64_t _handle;
3503
- int64_t object;
3504
- char *methodName;
3505
- int64_t args2;
3506
- const char *keywords[] = {"_handle", "object", "methodName", "args", NULL};
3507
3602
 
3508
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLsL", (char **) keywords, &_handle, &object, &methodName, &args2)) {
3509
- return NULL;
3510
- }
3511
- retval = api_VM_CallMethod(_handle, object, methodName, args2);
3512
- if (PyErr_Occurred()) {
3513
- return NULL;
3514
- }
3603
+ retval = api_GoValue_CTor();
3515
3604
  py_retval = Py_BuildValue((char *) "L", retval);
3516
3605
  return py_retval;
3517
3606
  }
3518
- PyObject * _wrap__api_api_VM_CallMethod(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3607
+ PyObject * _wrap__api_api_GoValue_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
3519
3608
 
3520
3609
 
3521
3610
  PyObject *
3522
- _wrap__api_api_VM_DefineVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3611
+ _wrap__api_api_GoValue_ID(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3523
3612
  {
3524
3613
  PyObject *py_retval;
3525
3614
  char *retval;
3526
3615
  int64_t _handle;
3527
- char *name;
3528
- int64_t value;
3529
- bool constant;
3530
- PyObject *py_constant;
3531
- const char *keywords[] = {"_handle", "name", "value", "constant", NULL};
3616
+ const char *keywords[] = {"_handle", NULL};
3532
3617
 
3533
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsLO", (char **) keywords, &_handle, &name, &value, &py_constant)) {
3618
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3534
3619
  return NULL;
3535
3620
  }
3536
- constant = (bool) PyObject_IsTrue(py_constant);
3537
- retval = api_VM_DefineVariable(_handle, name, value, constant);
3621
+ retval = api_GoValue_ID(_handle);
3538
3622
  if (PyErr_Occurred()) {
3623
+ if (retval != NULL) free(retval);
3539
3624
  return NULL;
3540
3625
  }
3541
3626
  py_retval = Py_BuildValue((char *) "s", retval);
3627
+ free(retval);
3542
3628
  return py_retval;
3543
3629
  }
3544
- PyObject * _wrap__api_api_VM_DefineVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3630
+ PyObject * _wrap__api_api_GoValue_ID(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3545
3631
 
3546
3632
 
3547
3633
  PyObject *
3548
- _wrap__api_api_VM_SetVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3634
+ _wrap__api_api_GoValue_MarshalJSON(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3549
3635
  {
3550
3636
  PyObject *py_retval;
3551
- char *retval;
3637
+ int64_t retval;
3552
3638
  int64_t _handle;
3553
- char *variableName;
3554
- int64_t value;
3555
- const char *keywords[] = {"_handle", "variableName", "value", NULL};
3639
+ const char *keywords[] = {"_handle", NULL};
3556
3640
 
3557
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsL", (char **) keywords, &_handle, &variableName, &value)) {
3641
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3558
3642
  return NULL;
3559
3643
  }
3560
- retval = api_VM_SetVariable(_handle, variableName, value);
3644
+ retval = api_GoValue_MarshalJSON(_handle);
3561
3645
  if (PyErr_Occurred()) {
3562
3646
  return NULL;
3563
3647
  }
3564
- py_retval = Py_BuildValue((char *) "s", retval);
3648
+ py_retval = Py_BuildValue((char *) "L", retval);
3565
3649
  return py_retval;
3566
3650
  }
3567
- PyObject * _wrap__api_api_VM_SetVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3651
+ PyObject * _wrap__api_api_GoValue_MarshalJSON(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3568
3652
 
3569
3653
 
3570
3654
  PyObject *
3571
- _wrap__api_api_VM_GetVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3655
+ _wrap__api_api_GoValue_Type(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3572
3656
  {
3573
3657
  PyObject *py_retval;
3574
- int64_t retval;
3658
+ char *retval;
3575
3659
  int64_t _handle;
3576
- char *variableName;
3577
- const char *keywords[] = {"_handle", "variableName", NULL};
3660
+ const char *keywords[] = {"_handle", NULL};
3578
3661
 
3579
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &variableName)) {
3662
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3580
3663
  return NULL;
3581
3664
  }
3582
- retval = api_VM_GetVariable(_handle, variableName);
3665
+ retval = api_GoValue_Type(_handle);
3583
3666
  if (PyErr_Occurred()) {
3667
+ if (retval != NULL) free(retval);
3584
3668
  return NULL;
3585
3669
  }
3586
- py_retval = Py_BuildValue((char *) "L", retval);
3670
+ py_retval = Py_BuildValue((char *) "s", retval);
3671
+ free(retval);
3587
3672
  return py_retval;
3588
3673
  }
3589
- PyObject * _wrap__api_api_VM_GetVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3674
+ PyObject * _wrap__api_api_GoValue_Type(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3590
3675
 
3591
3676
 
3592
3677
  PyObject *
3593
- _wrap__api_api_VM_DefineClass(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3678
+ _wrap__api_api_GoValue_Int(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3594
3679
  {
3595
3680
  PyObject *py_retval;
3596
- char *retval;
3681
+ int64_t retval;
3597
3682
  int64_t _handle;
3598
- int64_t classDef;
3599
- const char *keywords[] = {"_handle", "classDef", NULL};
3683
+ const char *keywords[] = {"_handle", NULL};
3600
3684
 
3601
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &_handle, &classDef)) {
3685
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3602
3686
  return NULL;
3603
3687
  }
3604
- retval = api_VM_DefineClass(_handle, classDef);
3688
+ retval = api_GoValue_Int(_handle);
3605
3689
  if (PyErr_Occurred()) {
3606
3690
  return NULL;
3607
3691
  }
3608
- py_retval = Py_BuildValue((char *) "s", retval);
3692
+ py_retval = Py_BuildValue((char *) "L", retval);
3609
3693
  return py_retval;
3610
3694
  }
3611
- PyObject * _wrap__api_api_VM_DefineClass(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3695
+ PyObject * _wrap__api_api_GoValue_Int(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3612
3696
 
3613
3697
 
3614
3698
  PyObject *
3615
- _wrap__api_api_VMCompatibilityShim_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
3699
+ _wrap__api_api_GoValue_Float(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3616
3700
  {
3617
3701
  PyObject *py_retval;
3618
- int64_t retval;
3702
+ double retval;
3703
+ int64_t _handle;
3704
+ const char *keywords[] = {"_handle", NULL};
3619
3705
 
3620
- retval = api_VMCompatibilityShim_CTor();
3621
- py_retval = Py_BuildValue((char *) "L", retval);
3706
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3707
+ return NULL;
3708
+ }
3709
+ retval = api_GoValue_Float(_handle);
3710
+ if (PyErr_Occurred()) {
3711
+ return NULL;
3712
+ }
3713
+ py_retval = Py_BuildValue((char *) "d", retval);
3622
3714
  return py_retval;
3623
3715
  }
3624
- PyObject * _wrap__api_api_VMCompatibilityShim_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
3716
+ PyObject * _wrap__api_api_GoValue_Float(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3625
3717
 
3626
3718
 
3627
3719
  PyObject *
3628
- _wrap__api_api_VMCompatibilityShim_DefineFunction(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3720
+ _wrap__api_api_GoValue_String(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3629
3721
  {
3630
3722
  PyObject *py_retval;
3631
3723
  char *retval;
3632
3724
  int64_t _handle;
3633
- char *id;
3634
- char *name;
3635
- int64_t argc;
3636
- PyObject *function;
3637
- const char *keywords[] = {"_handle", "id", "name", "argc", "function", NULL};
3725
+ const char *keywords[] = {"_handle", NULL};
3638
3726
 
3639
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LssLO", (char **) keywords, &_handle, &id, &name, &argc, &function)) {
3727
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3640
3728
  return NULL;
3641
3729
  }
3642
- retval = api_VMCompatibilityShim_DefineFunction(_handle, id, name, argc, function);
3730
+ retval = api_GoValue_String(_handle);
3643
3731
  if (PyErr_Occurred()) {
3732
+ if (retval != NULL) free(retval);
3644
3733
  return NULL;
3645
3734
  }
3646
3735
  py_retval = Py_BuildValue((char *) "s", retval);
3736
+ free(retval);
3647
3737
  return py_retval;
3648
3738
  }
3649
- PyObject * _wrap__api_api_VMCompatibilityShim_DefineFunction(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3739
+ PyObject * _wrap__api_api_GoValue_String(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3650
3740
 
3651
3741
 
3652
3742
  PyObject *
3653
- _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithGetter(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3743
+ _wrap__api_api_GoValue_Bool(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3654
3744
  {
3655
3745
  PyObject *py_retval;
3656
- int64_t retval;
3746
+ bool retval;
3657
3747
  int64_t _handle;
3658
- int64_t variable;
3659
- char *getterID;
3660
- PyObject *getter;
3661
- const char *keywords[] = {"_handle", "variable", "getterID", "getter", NULL};
3748
+ const char *keywords[] = {"_handle", NULL};
3662
3749
 
3663
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLsO", (char **) keywords, &_handle, &variable, &getterID, &getter)) {
3750
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3664
3751
  return NULL;
3665
3752
  }
3666
- retval = api_VMCompatibilityShim_BuildNewClassVariableWithGetter(_handle, variable, getterID, getter);
3753
+ retval = api_GoValue_Bool(_handle);
3667
3754
  if (PyErr_Occurred()) {
3668
3755
  return NULL;
3669
3756
  }
3670
- py_retval = Py_BuildValue((char *) "L", retval);
3757
+ py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
3671
3758
  return py_retval;
3672
3759
  }
3673
- PyObject * _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithGetter(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3760
+ PyObject * _wrap__api_api_GoValue_Bool(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3674
3761
 
3675
3762
 
3676
3763
  PyObject *
3677
- _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithSetter(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3764
+ _wrap__api_api_GoValue_Slice(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3678
3765
  {
3679
3766
  PyObject *py_retval;
3680
3767
  int64_t retval;
3681
3768
  int64_t _handle;
3682
- int64_t variable;
3683
- char *setterID;
3684
- PyObject *setter;
3685
- const char *keywords[] = {"_handle", "variable", "setterID", "setter", NULL};
3769
+ const char *keywords[] = {"_handle", NULL};
3686
3770
 
3687
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLsO", (char **) keywords, &_handle, &variable, &setterID, &setter)) {
3771
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3688
3772
  return NULL;
3689
3773
  }
3690
- retval = api_VMCompatibilityShim_BuildNewClassVariableWithSetter(_handle, variable, setterID, setter);
3774
+ retval = api_GoValue_Slice(_handle);
3691
3775
  if (PyErr_Occurred()) {
3692
3776
  return NULL;
3693
3777
  }
3694
3778
  py_retval = Py_BuildValue((char *) "L", retval);
3695
3779
  return py_retval;
3696
3780
  }
3697
- PyObject * _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithSetter(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3781
+ PyObject * _wrap__api_api_GoValue_Slice(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3698
3782
 
3699
3783
 
3700
3784
  PyObject *
3701
- _wrap__api_api_VMCompatibilityShim_BuildNewClassMethod(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3785
+ _wrap__api_api_GoValue_Map(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3702
3786
  {
3703
3787
  PyObject *py_retval;
3704
3788
  int64_t retval;
3705
3789
  int64_t _handle;
3706
- int64_t method;
3707
- char *id;
3708
- PyObject *function;
3709
- const char *keywords[] = {"_handle", "method", "id", "function", NULL};
3790
+ const char *keywords[] = {"_handle", NULL};
3710
3791
 
3711
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLsO", (char **) keywords, &_handle, &method, &id, &function)) {
3792
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3712
3793
  return NULL;
3713
3794
  }
3714
- retval = api_VMCompatibilityShim_BuildNewClassMethod(_handle, method, id, function);
3795
+ retval = api_GoValue_Map(_handle);
3715
3796
  if (PyErr_Occurred()) {
3716
3797
  return NULL;
3717
3798
  }
3718
3799
  py_retval = Py_BuildValue((char *) "L", retval);
3719
3800
  return py_retval;
3720
3801
  }
3721
- PyObject * _wrap__api_api_VMCompatibilityShim_BuildNewClassMethod(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3802
+ PyObject * _wrap__api_api_GoValue_Map(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3722
3803
 
3723
3804
 
3724
3805
  PyObject *
3725
- _wrap__api_api_VMCompatibilityShim_BuildNewUnknownFunctionHandler(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3806
+ _wrap__api_api_GoValue_Object(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3726
3807
  {
3727
3808
  PyObject *py_retval;
3728
3809
  int64_t retval;
3729
3810
  int64_t _handle;
3730
- char *id;
3731
- PyObject *function;
3732
- const char *keywords[] = {"_handle", "id", "function", NULL};
3811
+ const char *keywords[] = {"_handle", NULL};
3733
3812
 
3734
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsO", (char **) keywords, &_handle, &id, &function)) {
3813
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3735
3814
  return NULL;
3736
3815
  }
3737
- retval = api_VMCompatibilityShim_BuildNewUnknownFunctionHandler(_handle, id, function);
3816
+ retval = api_GoValue_Object(_handle);
3738
3817
  if (PyErr_Occurred()) {
3739
3818
  return NULL;
3740
3819
  }
3741
3820
  py_retval = Py_BuildValue((char *) "L", retval);
3742
3821
  return py_retval;
3743
3822
  }
3744
- PyObject * _wrap__api_api_VMCompatibilityShim_BuildNewUnknownFunctionHandler(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3823
+ PyObject * _wrap__api_api_GoValue_Object(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3745
3824
 
3746
3825
 
3747
3826
  PyObject *
3748
- _wrap__api_api_VMCompatibilityShim_IsClassDefined(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3827
+ _wrap__api_api_VM_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
3749
3828
  {
3750
3829
  PyObject *py_retval;
3751
- bool retval;
3752
- int64_t _handle;
3753
- char *name;
3754
- const char *keywords[] = {"_handle", "name", NULL};
3830
+ int64_t retval;
3755
3831
 
3756
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &name)) {
3757
- return NULL;
3758
- }
3759
- retval = api_VMCompatibilityShim_IsClassDefined(_handle, name);
3760
- if (PyErr_Occurred()) {
3761
- return NULL;
3762
- }
3763
- py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
3832
+ retval = api_VM_CTor();
3833
+ py_retval = Py_BuildValue((char *) "L", retval);
3764
3834
  return py_retval;
3765
3835
  }
3766
- PyObject * _wrap__api_api_VMCompatibilityShim_IsClassDefined(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3836
+ PyObject * _wrap__api_api_VM_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
3767
3837
 
3768
3838
 
3769
3839
  PyObject *
3770
- _wrap__api_api_VMCompatibilityShim_LookupObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3840
+ _wrap__api_api_VM_GetCompatibilityShim(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3771
3841
  {
3772
3842
  PyObject *py_retval;
3773
3843
  int64_t retval;
3774
3844
  int64_t _handle;
3775
- char *id;
3776
- const char *keywords[] = {"_handle", "id", NULL};
3845
+ const char *keywords[] = {"_handle", NULL};
3777
3846
 
3778
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &id)) {
3847
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3779
3848
  return NULL;
3780
3849
  }
3781
- retval = api_VMCompatibilityShim_LookupObject(_handle, id);
3850
+ retval = api_VM_GetCompatibilityShim(_handle);
3782
3851
  if (PyErr_Occurred()) {
3783
3852
  return NULL;
3784
3853
  }
3785
3854
  py_retval = Py_BuildValue((char *) "L", retval);
3786
3855
  return py_retval;
3787
3856
  }
3788
- PyObject * _wrap__api_api_VMCompatibilityShim_LookupObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3857
+ PyObject * _wrap__api_api_VM_GetCompatibilityShim(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3789
3858
 
3790
3859
 
3791
3860
  PyObject *
3792
- _wrap__api_api_VMCompatibilityShim_GetObjectMRO(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3861
+ _wrap__api_api_VM_Execute(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3793
3862
  {
3794
3863
  PyObject *py_retval;
3795
3864
  int64_t retval;
3796
3865
  int64_t _handle;
3797
- char *id;
3798
- const char *keywords[] = {"_handle", "id", NULL};
3866
+ char *code;
3867
+ const char *keywords[] = {"_handle", "code", NULL};
3799
3868
 
3800
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &id)) {
3869
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &code)) {
3801
3870
  return NULL;
3802
3871
  }
3803
- retval = api_VMCompatibilityShim_GetObjectMRO(_handle, id);
3872
+ retval = api_VM_Execute(_handle, code);
3804
3873
  if (PyErr_Occurred()) {
3805
3874
  return NULL;
3806
3875
  }
3807
3876
  py_retval = Py_BuildValue((char *) "L", retval);
3808
3877
  return py_retval;
3809
3878
  }
3810
- PyObject * _wrap__api_api_VMCompatibilityShim_GetObjectMRO(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3879
+ PyObject * _wrap__api_api_VM_Execute(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3811
3880
 
3812
3881
 
3813
3882
  PyObject *
3814
- _wrap__api_api_VMCompatibilityShim_GetObjectImmediateFunctions(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3883
+ _wrap__api_api_VM_ExecuteWithContext(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3815
3884
  {
3816
3885
  PyObject *py_retval;
3817
3886
  int64_t retval;
3818
3887
  int64_t _handle;
3819
- char *id;
3820
- const char *keywords[] = {"_handle", "id", NULL};
3888
+ int64_t ctx;
3889
+ char *code;
3890
+ const char *keywords[] = {"_handle", "ctx", "code", NULL};
3821
3891
 
3822
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &id)) {
3892
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLs", (char **) keywords, &_handle, &ctx, &code)) {
3823
3893
  return NULL;
3824
3894
  }
3825
- retval = api_VMCompatibilityShim_GetObjectImmediateFunctions(_handle, id);
3895
+ retval = api_VM_ExecuteWithContext(_handle, ctx, code);
3826
3896
  if (PyErr_Occurred()) {
3827
3897
  return NULL;
3828
3898
  }
3829
3899
  py_retval = Py_BuildValue((char *) "L", retval);
3830
3900
  return py_retval;
3831
3901
  }
3832
- PyObject * _wrap__api_api_VMCompatibilityShim_GetObjectImmediateFunctions(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3902
+ PyObject * _wrap__api_api_VM_ExecuteWithContext(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3833
3903
 
3834
3904
 
3835
3905
  PyObject *
3836
- _wrap__api_api_VMCompatibilityShim_GetObjectImmediateVariables(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3906
+ _wrap__api_api_VM_NewObjectInstance(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3837
3907
  {
3838
3908
  PyObject *py_retval;
3839
3909
  int64_t retval;
3840
3910
  int64_t _handle;
3841
- char *id;
3842
- const char *keywords[] = {"_handle", "id", NULL};
3911
+ char *className;
3912
+ const char *keywords[] = {"_handle", "className", NULL};
3843
3913
 
3844
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &id)) {
3914
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &className)) {
3845
3915
  return NULL;
3846
3916
  }
3847
- retval = api_VMCompatibilityShim_GetObjectImmediateVariables(_handle, id);
3917
+ retval = api_VM_NewObjectInstance(_handle, className);
3848
3918
  if (PyErr_Occurred()) {
3849
3919
  return NULL;
3850
3920
  }
3851
3921
  py_retval = Py_BuildValue((char *) "L", retval);
3852
3922
  return py_retval;
3853
3923
  }
3854
- PyObject * _wrap__api_api_VMCompatibilityShim_GetObjectImmediateVariables(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3924
+ PyObject * _wrap__api_api_VM_NewObjectInstance(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3855
3925
 
3856
3926
 
3857
3927
  PyObject *
3858
- _wrap__api_api_VMCompatibilityShim_AddVariableToObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3928
+ _wrap__api_api_VM_Call(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3859
3929
  {
3860
3930
  PyObject *py_retval;
3861
- char *retval;
3931
+ int64_t retval;
3862
3932
  int64_t _handle;
3863
- char *id;
3864
- int64_t variable;
3865
- const char *keywords[] = {"_handle", "id", "variable", NULL};
3933
+ char *functionName;
3934
+ int64_t args2;
3935
+ const char *keywords[] = {"_handle", "functionName", "args", NULL};
3866
3936
 
3867
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsL", (char **) keywords, &_handle, &id, &variable)) {
3937
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsL", (char **) keywords, &_handle, &functionName, &args2)) {
3868
3938
  return NULL;
3869
3939
  }
3870
- retval = api_VMCompatibilityShim_AddVariableToObject(_handle, id, variable);
3940
+ retval = api_VM_Call(_handle, functionName, args2);
3871
3941
  if (PyErr_Occurred()) {
3872
3942
  return NULL;
3873
3943
  }
3874
- py_retval = Py_BuildValue((char *) "s", retval);
3944
+ py_retval = Py_BuildValue((char *) "L", retval);
3875
3945
  return py_retval;
3876
3946
  }
3877
- PyObject * _wrap__api_api_VMCompatibilityShim_AddVariableToObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3947
+ PyObject * _wrap__api_api_VM_Call(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3878
3948
 
3879
3949
 
3880
3950
  PyObject *
3881
- _wrap__api_api_VMConfig_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
3951
+ _wrap__api_api_VM_CallMethod(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3882
3952
  {
3883
3953
  PyObject *py_retval;
3884
3954
  int64_t retval;
3955
+ int64_t _handle;
3956
+ int64_t object;
3957
+ char *methodName;
3958
+ int64_t args2;
3959
+ const char *keywords[] = {"_handle", "object", "methodName", "args", NULL};
3885
3960
 
3886
- retval = api_VMConfig_CTor();
3961
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLsL", (char **) keywords, &_handle, &object, &methodName, &args2)) {
3962
+ return NULL;
3963
+ }
3964
+ retval = api_VM_CallMethod(_handle, object, methodName, args2);
3965
+ if (PyErr_Occurred()) {
3966
+ return NULL;
3967
+ }
3887
3968
  py_retval = Py_BuildValue((char *) "L", retval);
3888
3969
  return py_retval;
3889
3970
  }
3890
- PyObject * _wrap__api_api_VMConfig_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
3971
+ PyObject * _wrap__api_api_VM_CallMethod(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3891
3972
 
3892
3973
 
3893
3974
  PyObject *
3894
- _wrap__api_api_VMConfig_Stdout_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3975
+ _wrap__api_api_VM_DefineVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3895
3976
  {
3896
3977
  PyObject *py_retval;
3897
- int64_t retval;
3898
- int64_t handle;
3899
- const char *keywords[] = {"handle", NULL};
3978
+ char *retval;
3979
+ int64_t _handle;
3980
+ char *name;
3981
+ int64_t value;
3982
+ bool constant;
3983
+ PyObject *py_constant;
3984
+ const char *keywords[] = {"_handle", "name", "value", "constant", NULL};
3900
3985
 
3901
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
3986
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsLO", (char **) keywords, &_handle, &name, &value, &py_constant)) {
3902
3987
  return NULL;
3903
3988
  }
3904
- retval = api_VMConfig_Stdout_Get(handle);
3905
- py_retval = Py_BuildValue((char *) "L", retval);
3989
+ constant = (bool) PyObject_IsTrue(py_constant);
3990
+ retval = api_VM_DefineVariable(_handle, name, value, constant);
3991
+ if (PyErr_Occurred()) {
3992
+ return NULL;
3993
+ }
3994
+ py_retval = Py_BuildValue((char *) "s", retval);
3906
3995
  return py_retval;
3907
3996
  }
3908
- PyObject * _wrap__api_api_VMConfig_Stdout_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3909
-
3910
-
3911
- PyObject *
3912
- _wrap__api_api_VMConfig_Stdout_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3913
- {
3914
- PyObject *py_retval;
3915
- int64_t handle;
3916
- int64_t val;
3917
- const char *keywords[] = {"handle", "val", NULL};
3918
-
3919
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
3920
- return NULL;
3921
- }
3922
- api_VMConfig_Stdout_Set(handle, val);
3923
- Py_INCREF(Py_None);
3924
- py_retval = Py_None;
3925
- return py_retval;
3926
- }
3927
- PyObject * _wrap__api_api_VMConfig_Stdout_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3997
+ PyObject * _wrap__api_api_VM_DefineVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3928
3998
 
3929
3999
 
3930
4000
  PyObject *
3931
- _wrap__api_api_VMConfig_Stdin_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4001
+ _wrap__api_api_VM_SetVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3932
4002
  {
3933
4003
  PyObject *py_retval;
3934
- int64_t retval;
3935
- int64_t handle;
3936
- const char *keywords[] = {"handle", NULL};
4004
+ char *retval;
4005
+ int64_t _handle;
4006
+ char *variableName;
4007
+ int64_t value;
4008
+ const char *keywords[] = {"_handle", "variableName", "value", NULL};
3937
4009
 
3938
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4010
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsL", (char **) keywords, &_handle, &variableName, &value)) {
3939
4011
  return NULL;
3940
4012
  }
3941
- retval = api_VMConfig_Stdin_Get(handle);
3942
- py_retval = Py_BuildValue((char *) "L", retval);
3943
- return py_retval;
3944
- }
3945
- PyObject * _wrap__api_api_VMConfig_Stdin_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3946
-
3947
-
3948
- PyObject *
3949
- _wrap__api_api_VMConfig_Stdin_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3950
- {
3951
- PyObject *py_retval;
3952
- int64_t handle;
3953
- int64_t val;
3954
- const char *keywords[] = {"handle", "val", NULL};
3955
-
3956
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4013
+ retval = api_VM_SetVariable(_handle, variableName, value);
4014
+ if (PyErr_Occurred()) {
3957
4015
  return NULL;
3958
4016
  }
3959
- api_VMConfig_Stdin_Set(handle, val);
3960
- Py_INCREF(Py_None);
3961
- py_retval = Py_None;
4017
+ py_retval = Py_BuildValue((char *) "s", retval);
3962
4018
  return py_retval;
3963
4019
  }
3964
- PyObject * _wrap__api_api_VMConfig_Stdin_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4020
+ PyObject * _wrap__api_api_VM_SetVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3965
4021
 
3966
4022
 
3967
4023
  PyObject *
3968
- _wrap__api_api_VMConfig_Timeout_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4024
+ _wrap__api_api_VM_GetVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3969
4025
  {
3970
4026
  PyObject *py_retval;
3971
4027
  int64_t retval;
3972
- int64_t handle;
3973
- const char *keywords[] = {"handle", NULL};
3974
-
3975
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
3976
- return NULL;
3977
- }
3978
- retval = api_VMConfig_Timeout_Get(handle);
3979
- py_retval = Py_BuildValue((char *) "L", retval);
3980
- return py_retval;
3981
- }
3982
- PyObject * _wrap__api_api_VMConfig_Timeout_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3983
-
3984
-
3985
- PyObject *
3986
- _wrap__api_api_VMConfig_Timeout_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3987
- {
3988
- PyObject *py_retval;
3989
- int64_t handle;
3990
- int64_t val;
3991
- const char *keywords[] = {"handle", "val", NULL};
3992
-
3993
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
3994
- return NULL;
3995
- }
3996
- api_VMConfig_Timeout_Set(handle, val);
3997
- Py_INCREF(Py_None);
3998
- py_retval = Py_None;
3999
- return py_retval;
4000
- }
4001
- PyObject * _wrap__api_api_VMConfig_Timeout_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4002
-
4003
-
4004
- PyObject *
4005
- _wrap__api_api_VMConfig_WorkingDirectory_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4006
- {
4007
- PyObject *py_retval;
4008
- char *retval;
4009
- int64_t handle;
4010
- const char *keywords[] = {"handle", NULL};
4028
+ int64_t _handle;
4029
+ char *variableName;
4030
+ const char *keywords[] = {"_handle", "variableName", NULL};
4011
4031
 
4012
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4032
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &variableName)) {
4013
4033
  return NULL;
4014
4034
  }
4015
- retval = api_VMConfig_WorkingDirectory_Get(handle);
4016
- py_retval = Py_BuildValue((char *) "s", retval);
4017
- return py_retval;
4018
- }
4019
- PyObject * _wrap__api_api_VMConfig_WorkingDirectory_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4020
-
4021
-
4022
- PyObject *
4023
- _wrap__api_api_VMConfig_WorkingDirectory_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4024
- {
4025
- PyObject *py_retval;
4026
- int64_t handle;
4027
- char *val;
4028
- const char *keywords[] = {"handle", "val", NULL};
4029
-
4030
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
4035
+ retval = api_VM_GetVariable(_handle, variableName);
4036
+ if (PyErr_Occurred()) {
4031
4037
  return NULL;
4032
4038
  }
4033
- api_VMConfig_WorkingDirectory_Set(handle, val);
4034
- Py_INCREF(Py_None);
4035
- py_retval = Py_None;
4039
+ py_retval = Py_BuildValue((char *) "L", retval);
4036
4040
  return py_retval;
4037
4041
  }
4038
- PyObject * _wrap__api_api_VMConfig_WorkingDirectory_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4042
+ PyObject * _wrap__api_api_VM_GetVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4039
4043
 
4040
4044
 
4041
4045
  PyObject *
4042
- _wrap__api_api_VMConfig_Validate(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4046
+ _wrap__api_api_VM_DefineClass(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4043
4047
  {
4044
4048
  PyObject *py_retval;
4045
4049
  char *retval;
4046
4050
  int64_t _handle;
4047
- const char *keywords[] = {"_handle", NULL};
4051
+ int64_t classDef;
4052
+ const char *keywords[] = {"_handle", "classDef", NULL};
4048
4053
 
4049
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4054
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &_handle, &classDef)) {
4050
4055
  return NULL;
4051
4056
  }
4052
- retval = api_VMConfig_Validate(_handle);
4057
+ retval = api_VM_DefineClass(_handle, classDef);
4053
4058
  if (PyErr_Occurred()) {
4054
4059
  return NULL;
4055
4060
  }
4056
4061
  py_retval = Py_BuildValue((char *) "s", retval);
4057
4062
  return py_retval;
4058
4063
  }
4059
- PyObject * _wrap__api_api_VMConfig_Validate(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4064
+ PyObject * _wrap__api_api_VM_DefineClass(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4060
4065
 
4061
4066
 
4062
4067
  PyObject *
4063
- _wrap__api_api_VMError_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4068
+ _wrap__api_api_VMCompatibilityShim_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4064
4069
  {
4065
4070
  PyObject *py_retval;
4066
4071
  int64_t retval;
4067
4072
 
4068
- retval = api_VMError_CTor();
4073
+ retval = api_VMCompatibilityShim_CTor();
4069
4074
  py_retval = Py_BuildValue((char *) "L", retval);
4070
4075
  return py_retval;
4071
4076
  }
4072
- PyObject * _wrap__api_api_VMError_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4077
+ PyObject * _wrap__api_api_VMCompatibilityShim_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4073
4078
 
4074
4079
 
4075
4080
  PyObject *
4076
- _wrap__api_api_VMError_Type_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4081
+ _wrap__api_api_VMCompatibilityShim_DefineFunction(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4077
4082
  {
4078
4083
  PyObject *py_retval;
4079
4084
  char *retval;
4080
- int64_t handle;
4081
- const char *keywords[] = {"handle", NULL};
4082
-
4083
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4084
- return NULL;
4085
- }
4086
- retval = api_VMError_Type_Get(handle);
4087
- py_retval = Py_BuildValue((char *) "s", retval);
4088
- return py_retval;
4089
- }
4090
- PyObject * _wrap__api_api_VMError_Type_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4091
-
4092
-
4093
- PyObject *
4094
- _wrap__api_api_VMError_Type_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4095
- {
4096
- PyObject *py_retval;
4097
- int64_t handle;
4098
- char *val;
4099
- const char *keywords[] = {"handle", "val", NULL};
4085
+ int64_t _handle;
4086
+ char *id;
4087
+ char *name;
4088
+ int64_t argc;
4089
+ PyObject *function;
4090
+ const char *keywords[] = {"_handle", "id", "name", "argc", "function", NULL};
4100
4091
 
4101
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
4092
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LssLO", (char **) keywords, &_handle, &id, &name, &argc, &function)) {
4102
4093
  return NULL;
4103
4094
  }
4104
- api_VMError_Type_Set(handle, val);
4105
- Py_INCREF(Py_None);
4106
- py_retval = Py_None;
4107
- return py_retval;
4108
- }
4109
- PyObject * _wrap__api_api_VMError_Type_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4110
-
4111
-
4112
- PyObject *
4113
- _wrap__api_api_VMError_Message_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4114
- {
4115
- PyObject *py_retval;
4116
- char *retval;
4117
- int64_t handle;
4118
- const char *keywords[] = {"handle", NULL};
4119
-
4120
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4095
+ retval = api_VMCompatibilityShim_DefineFunction(_handle, id, name, argc, function);
4096
+ if (PyErr_Occurred()) {
4121
4097
  return NULL;
4122
4098
  }
4123
- retval = api_VMError_Message_Get(handle);
4124
4099
  py_retval = Py_BuildValue((char *) "s", retval);
4125
4100
  return py_retval;
4126
4101
  }
4127
- PyObject * _wrap__api_api_VMError_Message_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4102
+ PyObject * _wrap__api_api_VMCompatibilityShim_DefineFunction(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4128
4103
 
4129
4104
 
4130
4105
  PyObject *
4131
- _wrap__api_api_VMError_Message_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4106
+ _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithGetter(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4132
4107
  {
4133
4108
  PyObject *py_retval;
4134
- int64_t handle;
4135
- char *val;
4136
- const char *keywords[] = {"handle", "val", NULL};
4109
+ int64_t retval;
4110
+ int64_t _handle;
4111
+ int64_t variable;
4112
+ char *getterID;
4113
+ PyObject *getter;
4114
+ const char *keywords[] = {"_handle", "variable", "getterID", "getter", NULL};
4137
4115
 
4138
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
4116
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLsO", (char **) keywords, &_handle, &variable, &getterID, &getter)) {
4139
4117
  return NULL;
4140
4118
  }
4141
- api_VMError_Message_Set(handle, val);
4142
- Py_INCREF(Py_None);
4143
- py_retval = Py_None;
4144
- return py_retval;
4145
- }
4146
- PyObject * _wrap__api_api_VMError_Message_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4147
-
4148
-
4149
- PyObject *
4150
- _wrap__api_api_VMError_Source_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4151
- {
4152
- PyObject *py_retval;
4153
- int64_t retval;
4154
- int64_t handle;
4155
- const char *keywords[] = {"handle", NULL};
4156
-
4157
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4119
+ retval = api_VMCompatibilityShim_BuildNewClassVariableWithGetter(_handle, variable, getterID, getter);
4120
+ if (PyErr_Occurred()) {
4158
4121
  return NULL;
4159
4122
  }
4160
- retval = api_VMError_Source_Get(handle);
4161
4123
  py_retval = Py_BuildValue((char *) "L", retval);
4162
4124
  return py_retval;
4163
4125
  }
4164
- PyObject * _wrap__api_api_VMError_Source_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4126
+ PyObject * _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithGetter(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4165
4127
 
4166
4128
 
4167
4129
  PyObject *
4168
- _wrap__api_api_VMError_Source_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4130
+ _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithSetter(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4169
4131
  {
4170
4132
  PyObject *py_retval;
4171
- int64_t handle;
4172
- int64_t val;
4173
- const char *keywords[] = {"handle", "val", NULL};
4133
+ int64_t retval;
4134
+ int64_t _handle;
4135
+ int64_t variable;
4136
+ char *setterID;
4137
+ PyObject *setter;
4138
+ const char *keywords[] = {"_handle", "variable", "setterID", "setter", NULL};
4174
4139
 
4175
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4140
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLsO", (char **) keywords, &_handle, &variable, &setterID, &setter)) {
4176
4141
  return NULL;
4177
4142
  }
4178
- api_VMError_Source_Set(handle, val);
4179
- Py_INCREF(Py_None);
4180
- py_retval = Py_None;
4181
- return py_retval;
4182
- }
4183
- PyObject * _wrap__api_api_VMError_Source_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4184
-
4185
-
4186
- PyObject *
4187
- _wrap__api_api_VMError_Duration_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4188
- {
4189
- PyObject *py_retval;
4190
- int64_t retval;
4191
- int64_t handle;
4192
- const char *keywords[] = {"handle", NULL};
4193
-
4194
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4143
+ retval = api_VMCompatibilityShim_BuildNewClassVariableWithSetter(_handle, variable, setterID, setter);
4144
+ if (PyErr_Occurred()) {
4195
4145
  return NULL;
4196
4146
  }
4197
- retval = api_VMError_Duration_Get(handle);
4198
4147
  py_retval = Py_BuildValue((char *) "L", retval);
4199
4148
  return py_retval;
4200
4149
  }
4201
- PyObject * _wrap__api_api_VMError_Duration_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4150
+ PyObject * _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithSetter(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4202
4151
 
4203
4152
 
4204
4153
  PyObject *
4205
- _wrap__api_api_VMError_Duration_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4154
+ _wrap__api_api_VMCompatibilityShim_BuildNewClassMethod(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4206
4155
  {
4207
4156
  PyObject *py_retval;
4208
- int64_t handle;
4209
- int64_t val;
4210
- const char *keywords[] = {"handle", "val", NULL};
4157
+ int64_t retval;
4158
+ int64_t _handle;
4159
+ int64_t method;
4160
+ char *id;
4161
+ PyObject *function;
4162
+ const char *keywords[] = {"_handle", "method", "id", "function", NULL};
4211
4163
 
4212
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4164
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLsO", (char **) keywords, &_handle, &method, &id, &function)) {
4213
4165
  return NULL;
4214
4166
  }
4215
- api_VMError_Duration_Set(handle, val);
4216
- Py_INCREF(Py_None);
4217
- py_retval = Py_None;
4167
+ retval = api_VMCompatibilityShim_BuildNewClassMethod(_handle, method, id, function);
4168
+ if (PyErr_Occurred()) {
4169
+ return NULL;
4170
+ }
4171
+ py_retval = Py_BuildValue((char *) "L", retval);
4218
4172
  return py_retval;
4219
4173
  }
4220
- PyObject * _wrap__api_api_VMError_Duration_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4174
+ PyObject * _wrap__api_api_VMCompatibilityShim_BuildNewClassMethod(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4221
4175
 
4222
4176
 
4223
4177
  PyObject *
4224
- _wrap__api_api_VMError_Error(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4178
+ _wrap__api_api_VMCompatibilityShim_BuildNewUnknownFunctionHandler(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4225
4179
  {
4226
4180
  PyObject *py_retval;
4227
- char *retval;
4181
+ int64_t retval;
4228
4182
  int64_t _handle;
4229
- const char *keywords[] = {"_handle", NULL};
4183
+ char *id;
4184
+ PyObject *function;
4185
+ const char *keywords[] = {"_handle", "id", "function", NULL};
4230
4186
 
4231
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4187
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsO", (char **) keywords, &_handle, &id, &function)) {
4232
4188
  return NULL;
4233
4189
  }
4234
- retval = api_VMError_Error(_handle);
4190
+ retval = api_VMCompatibilityShim_BuildNewUnknownFunctionHandler(_handle, id, function);
4235
4191
  if (PyErr_Occurred()) {
4236
- if (retval != NULL) free(retval);
4237
4192
  return NULL;
4238
4193
  }
4239
- py_retval = Py_BuildValue((char *) "s", retval);
4240
- free(retval);
4194
+ py_retval = Py_BuildValue((char *) "L", retval);
4241
4195
  return py_retval;
4242
4196
  }
4243
- PyObject * _wrap__api_api_VMError_Error(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4197
+ PyObject * _wrap__api_api_VMCompatibilityShim_BuildNewUnknownFunctionHandler(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4244
4198
 
4245
4199
 
4246
4200
  PyObject *
4247
- _wrap__api_api_VMError_Unwrap(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4201
+ _wrap__api_api_VMCompatibilityShim_IsClassDefined(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4248
4202
  {
4249
4203
  PyObject *py_retval;
4250
- char *retval;
4204
+ bool retval;
4251
4205
  int64_t _handle;
4252
- const char *keywords[] = {"_handle", NULL};
4206
+ char *name;
4207
+ const char *keywords[] = {"_handle", "name", NULL};
4253
4208
 
4254
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4209
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &name)) {
4255
4210
  return NULL;
4256
4211
  }
4257
- retval = api_VMError_Unwrap(_handle);
4212
+ retval = api_VMCompatibilityShim_IsClassDefined(_handle, name);
4258
4213
  if (PyErr_Occurred()) {
4259
4214
  return NULL;
4260
4215
  }
4261
- py_retval = Py_BuildValue((char *) "s", retval);
4216
+ py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4262
4217
  return py_retval;
4263
4218
  }
4264
- PyObject * _wrap__api_api_VMError_Unwrap(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4219
+ PyObject * _wrap__api_api_VMCompatibilityShim_IsClassDefined(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4265
4220
 
4266
4221
 
4267
4222
  PyObject *
4268
- _wrap__api_api_VMError_IsCompileError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4223
+ _wrap__api_api_VMCompatibilityShim_LookupObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4269
4224
  {
4270
4225
  PyObject *py_retval;
4271
- bool retval;
4226
+ int64_t retval;
4272
4227
  int64_t _handle;
4273
- const char *keywords[] = {"_handle", NULL};
4228
+ char *id;
4229
+ const char *keywords[] = {"_handle", "id", NULL};
4274
4230
 
4275
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4231
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &id)) {
4276
4232
  return NULL;
4277
4233
  }
4278
- retval = api_VMError_IsCompileError(_handle);
4234
+ retval = api_VMCompatibilityShim_LookupObject(_handle, id);
4279
4235
  if (PyErr_Occurred()) {
4280
4236
  return NULL;
4281
4237
  }
4282
- py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4238
+ py_retval = Py_BuildValue((char *) "L", retval);
4283
4239
  return py_retval;
4284
4240
  }
4285
- PyObject * _wrap__api_api_VMError_IsCompileError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4241
+ PyObject * _wrap__api_api_VMCompatibilityShim_LookupObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4286
4242
 
4287
4243
 
4288
4244
  PyObject *
4289
- _wrap__api_api_VMError_IsRuntimeError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4245
+ _wrap__api_api_VMCompatibilityShim_GetObjectMRO(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4290
4246
  {
4291
4247
  PyObject *py_retval;
4292
- bool retval;
4248
+ int64_t retval;
4293
4249
  int64_t _handle;
4294
- const char *keywords[] = {"_handle", NULL};
4250
+ char *id;
4251
+ const char *keywords[] = {"_handle", "id", NULL};
4295
4252
 
4296
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4253
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &id)) {
4297
4254
  return NULL;
4298
4255
  }
4299
- retval = api_VMError_IsRuntimeError(_handle);
4256
+ retval = api_VMCompatibilityShim_GetObjectMRO(_handle, id);
4300
4257
  if (PyErr_Occurred()) {
4301
4258
  return NULL;
4302
4259
  }
4303
- py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4260
+ py_retval = Py_BuildValue((char *) "L", retval);
4304
4261
  return py_retval;
4305
4262
  }
4306
- PyObject * _wrap__api_api_VMError_IsRuntimeError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4263
+ PyObject * _wrap__api_api_VMCompatibilityShim_GetObjectMRO(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4307
4264
 
4308
4265
 
4309
4266
  PyObject *
4310
- _wrap__api_api_VMError_IsTimeoutError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4267
+ _wrap__api_api_VMCompatibilityShim_GetObjectImmediateFunctions(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4311
4268
  {
4312
4269
  PyObject *py_retval;
4313
- bool retval;
4270
+ int64_t retval;
4314
4271
  int64_t _handle;
4315
- const char *keywords[] = {"_handle", NULL};
4272
+ char *id;
4273
+ const char *keywords[] = {"_handle", "id", NULL};
4316
4274
 
4317
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4275
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &id)) {
4318
4276
  return NULL;
4319
4277
  }
4320
- retval = api_VMError_IsTimeoutError(_handle);
4278
+ retval = api_VMCompatibilityShim_GetObjectImmediateFunctions(_handle, id);
4321
4279
  if (PyErr_Occurred()) {
4322
4280
  return NULL;
4323
4281
  }
4324
- py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4282
+ py_retval = Py_BuildValue((char *) "L", retval);
4325
4283
  return py_retval;
4326
4284
  }
4327
- PyObject * _wrap__api_api_VMError_IsTimeoutError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4285
+ PyObject * _wrap__api_api_VMCompatibilityShim_GetObjectImmediateFunctions(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4328
4286
 
4329
4287
 
4330
4288
  PyObject *
4331
- _wrap__api_api_VMError_IsConversionError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4289
+ _wrap__api_api_VMCompatibilityShim_GetObjectImmediateVariables(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4332
4290
  {
4333
4291
  PyObject *py_retval;
4334
- bool retval;
4292
+ int64_t retval;
4335
4293
  int64_t _handle;
4336
- const char *keywords[] = {"_handle", NULL};
4294
+ char *id;
4295
+ const char *keywords[] = {"_handle", "id", NULL};
4337
4296
 
4338
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4297
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &id)) {
4339
4298
  return NULL;
4340
4299
  }
4341
- retval = api_VMError_IsConversionError(_handle);
4300
+ retval = api_VMCompatibilityShim_GetObjectImmediateVariables(_handle, id);
4342
4301
  if (PyErr_Occurred()) {
4343
4302
  return NULL;
4344
4303
  }
4345
- py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4304
+ py_retval = Py_BuildValue((char *) "L", retval);
4346
4305
  return py_retval;
4347
4306
  }
4348
- PyObject * _wrap__api_api_VMError_IsConversionError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4307
+ PyObject * _wrap__api_api_VMCompatibilityShim_GetObjectImmediateVariables(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4349
4308
 
4350
4309
 
4351
4310
  PyObject *
4352
- _wrap__api_api_VMError_IsConfigError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4311
+ _wrap__api_api_VMCompatibilityShim_AddVariableToObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4353
4312
  {
4354
4313
  PyObject *py_retval;
4355
- bool retval;
4314
+ char *retval;
4356
4315
  int64_t _handle;
4357
- const char *keywords[] = {"_handle", NULL};
4316
+ char *id;
4317
+ int64_t variable;
4318
+ const char *keywords[] = {"_handle", "id", "variable", NULL};
4358
4319
 
4359
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4320
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsL", (char **) keywords, &_handle, &id, &variable)) {
4360
4321
  return NULL;
4361
4322
  }
4362
- retval = api_VMError_IsConfigError(_handle);
4323
+ retval = api_VMCompatibilityShim_AddVariableToObject(_handle, id, variable);
4363
4324
  if (PyErr_Occurred()) {
4364
4325
  return NULL;
4365
4326
  }
4366
- py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4327
+ py_retval = Py_BuildValue((char *) "s", retval);
4367
4328
  return py_retval;
4368
4329
  }
4369
- PyObject * _wrap__api_api_VMError_IsConfigError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4330
+ PyObject * _wrap__api_api_VMCompatibilityShim_AddVariableToObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4370
4331
 
4371
4332
 
4372
4333
  PyObject *
4373
- _wrap__api_api_ClassDefinition_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4334
+ _wrap__api_api_VMConfig_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4374
4335
  {
4375
4336
  PyObject *py_retval;
4376
4337
  int64_t retval;
4377
4338
 
4378
- retval = api_ClassDefinition_CTor();
4339
+ retval = api_VMConfig_CTor();
4379
4340
  py_retval = Py_BuildValue((char *) "L", retval);
4380
4341
  return py_retval;
4381
4342
  }
4382
- PyObject * _wrap__api_api_ClassDefinition_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4343
+ PyObject * _wrap__api_api_VMConfig_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4383
4344
 
4384
4345
 
4385
4346
  PyObject *
4386
- _wrap__api_api_ClassDefinition_Name_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4347
+ _wrap__api_api_VMConfig_Stdout_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4387
4348
  {
4388
4349
  PyObject *py_retval;
4389
- char *retval;
4350
+ int64_t retval;
4390
4351
  int64_t handle;
4391
4352
  const char *keywords[] = {"handle", NULL};
4392
4353
 
4393
4354
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4394
4355
  return NULL;
4395
4356
  }
4396
- retval = api_ClassDefinition_Name_Get(handle);
4397
- py_retval = Py_BuildValue((char *) "s", retval);
4357
+ retval = api_VMConfig_Stdout_Get(handle);
4358
+ py_retval = Py_BuildValue((char *) "L", retval);
4398
4359
  return py_retval;
4399
4360
  }
4400
- PyObject * _wrap__api_api_ClassDefinition_Name_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4361
+ PyObject * _wrap__api_api_VMConfig_Stdout_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4401
4362
 
4402
4363
 
4403
4364
  PyObject *
4404
- _wrap__api_api_ClassDefinition_Name_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4365
+ _wrap__api_api_VMConfig_Stdout_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4405
4366
  {
4406
4367
  PyObject *py_retval;
4407
4368
  int64_t handle;
4408
- char *val;
4369
+ int64_t val;
4409
4370
  const char *keywords[] = {"handle", "val", NULL};
4410
4371
 
4411
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
4372
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4412
4373
  return NULL;
4413
4374
  }
4414
- api_ClassDefinition_Name_Set(handle, val);
4375
+ api_VMConfig_Stdout_Set(handle, val);
4415
4376
  Py_INCREF(Py_None);
4416
4377
  py_retval = Py_None;
4417
4378
  return py_retval;
4418
4379
  }
4419
- PyObject * _wrap__api_api_ClassDefinition_Name_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4380
+ PyObject * _wrap__api_api_VMConfig_Stdout_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4420
4381
 
4421
4382
 
4422
4383
  PyObject *
4423
- _wrap__api_api_ClassDefinition_PublicVariables_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4384
+ _wrap__api_api_VMConfig_Stdin_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4424
4385
  {
4425
4386
  PyObject *py_retval;
4426
4387
  int64_t retval;
@@ -4430,15 +4391,15 @@ _wrap__api_api_ClassDefinition_PublicVariables_Get(PyObject * PYBINDGEN_UNUSED(d
4430
4391
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4431
4392
  return NULL;
4432
4393
  }
4433
- retval = api_ClassDefinition_PublicVariables_Get(handle);
4394
+ retval = api_VMConfig_Stdin_Get(handle);
4434
4395
  py_retval = Py_BuildValue((char *) "L", retval);
4435
4396
  return py_retval;
4436
4397
  }
4437
- PyObject * _wrap__api_api_ClassDefinition_PublicVariables_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4398
+ PyObject * _wrap__api_api_VMConfig_Stdin_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4438
4399
 
4439
4400
 
4440
4401
  PyObject *
4441
- _wrap__api_api_ClassDefinition_PublicVariables_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4402
+ _wrap__api_api_VMConfig_Stdin_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4442
4403
  {
4443
4404
  PyObject *py_retval;
4444
4405
  int64_t handle;
@@ -4448,16 +4409,16 @@ _wrap__api_api_ClassDefinition_PublicVariables_Set(PyObject * PYBINDGEN_UNUSED(d
4448
4409
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4449
4410
  return NULL;
4450
4411
  }
4451
- api_ClassDefinition_PublicVariables_Set(handle, val);
4412
+ api_VMConfig_Stdin_Set(handle, val);
4452
4413
  Py_INCREF(Py_None);
4453
4414
  py_retval = Py_None;
4454
4415
  return py_retval;
4455
4416
  }
4456
- PyObject * _wrap__api_api_ClassDefinition_PublicVariables_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4417
+ PyObject * _wrap__api_api_VMConfig_Stdin_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4457
4418
 
4458
4419
 
4459
4420
  PyObject *
4460
- _wrap__api_api_ClassDefinition_PrivateVariables_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4421
+ _wrap__api_api_VMConfig_Timeout_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4461
4422
  {
4462
4423
  PyObject *py_retval;
4463
4424
  int64_t retval;
@@ -4467,15 +4428,15 @@ _wrap__api_api_ClassDefinition_PrivateVariables_Get(PyObject * PYBINDGEN_UNUSED(
4467
4428
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4468
4429
  return NULL;
4469
4430
  }
4470
- retval = api_ClassDefinition_PrivateVariables_Get(handle);
4431
+ retval = api_VMConfig_Timeout_Get(handle);
4471
4432
  py_retval = Py_BuildValue((char *) "L", retval);
4472
4433
  return py_retval;
4473
4434
  }
4474
- PyObject * _wrap__api_api_ClassDefinition_PrivateVariables_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4435
+ PyObject * _wrap__api_api_VMConfig_Timeout_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4475
4436
 
4476
4437
 
4477
4438
  PyObject *
4478
- _wrap__api_api_ClassDefinition_PrivateVariables_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4439
+ _wrap__api_api_VMConfig_Timeout_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4479
4440
  {
4480
4441
  PyObject *py_retval;
4481
4442
  int64_t handle;
@@ -4485,90 +4446,161 @@ _wrap__api_api_ClassDefinition_PrivateVariables_Set(PyObject * PYBINDGEN_UNUSED(
4485
4446
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4486
4447
  return NULL;
4487
4448
  }
4488
- api_ClassDefinition_PrivateVariables_Set(handle, val);
4449
+ api_VMConfig_Timeout_Set(handle, val);
4489
4450
  Py_INCREF(Py_None);
4490
4451
  py_retval = Py_None;
4491
4452
  return py_retval;
4492
4453
  }
4493
- PyObject * _wrap__api_api_ClassDefinition_PrivateVariables_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4454
+ PyObject * _wrap__api_api_VMConfig_Timeout_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4494
4455
 
4495
4456
 
4496
4457
  PyObject *
4497
- _wrap__api_api_ClassDefinition_SharedVariables_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4458
+ _wrap__api_api_VMConfig_WorkingDirectory_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4498
4459
  {
4499
4460
  PyObject *py_retval;
4500
- int64_t retval;
4461
+ char *retval;
4501
4462
  int64_t handle;
4502
4463
  const char *keywords[] = {"handle", NULL};
4503
4464
 
4504
4465
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4505
4466
  return NULL;
4506
4467
  }
4507
- retval = api_ClassDefinition_SharedVariables_Get(handle);
4468
+ retval = api_VMConfig_WorkingDirectory_Get(handle);
4469
+ py_retval = Py_BuildValue((char *) "s", retval);
4470
+ return py_retval;
4471
+ }
4472
+ PyObject * _wrap__api_api_VMConfig_WorkingDirectory_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4473
+
4474
+
4475
+ PyObject *
4476
+ _wrap__api_api_VMConfig_WorkingDirectory_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4477
+ {
4478
+ PyObject *py_retval;
4479
+ int64_t handle;
4480
+ char *val;
4481
+ const char *keywords[] = {"handle", "val", NULL};
4482
+
4483
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
4484
+ return NULL;
4485
+ }
4486
+ api_VMConfig_WorkingDirectory_Set(handle, val);
4487
+ Py_INCREF(Py_None);
4488
+ py_retval = Py_None;
4489
+ return py_retval;
4490
+ }
4491
+ PyObject * _wrap__api_api_VMConfig_WorkingDirectory_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4492
+
4493
+
4494
+ PyObject *
4495
+ _wrap__api_api_VMConfig_Validate(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4496
+ {
4497
+ PyObject *py_retval;
4498
+ char *retval;
4499
+ int64_t _handle;
4500
+ const char *keywords[] = {"_handle", NULL};
4501
+
4502
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4503
+ return NULL;
4504
+ }
4505
+ retval = api_VMConfig_Validate(_handle);
4506
+ if (PyErr_Occurred()) {
4507
+ return NULL;
4508
+ }
4509
+ py_retval = Py_BuildValue((char *) "s", retval);
4510
+ return py_retval;
4511
+ }
4512
+ PyObject * _wrap__api_api_VMConfig_Validate(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4513
+
4514
+
4515
+ PyObject *
4516
+ _wrap__api_api_VMError_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4517
+ {
4518
+ PyObject *py_retval;
4519
+ int64_t retval;
4520
+
4521
+ retval = api_VMError_CTor();
4508
4522
  py_retval = Py_BuildValue((char *) "L", retval);
4509
4523
  return py_retval;
4510
4524
  }
4511
- PyObject * _wrap__api_api_ClassDefinition_SharedVariables_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4525
+ PyObject * _wrap__api_api_VMError_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4512
4526
 
4513
4527
 
4514
4528
  PyObject *
4515
- _wrap__api_api_ClassDefinition_SharedVariables_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4529
+ _wrap__api_api_VMError_Type_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4530
+ {
4531
+ PyObject *py_retval;
4532
+ char *retval;
4533
+ int64_t handle;
4534
+ const char *keywords[] = {"handle", NULL};
4535
+
4536
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4537
+ return NULL;
4538
+ }
4539
+ retval = api_VMError_Type_Get(handle);
4540
+ py_retval = Py_BuildValue((char *) "s", retval);
4541
+ return py_retval;
4542
+ }
4543
+ PyObject * _wrap__api_api_VMError_Type_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4544
+
4545
+
4546
+ PyObject *
4547
+ _wrap__api_api_VMError_Type_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4516
4548
  {
4517
4549
  PyObject *py_retval;
4518
4550
  int64_t handle;
4519
- int64_t val;
4551
+ char *val;
4520
4552
  const char *keywords[] = {"handle", "val", NULL};
4521
4553
 
4522
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4554
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
4523
4555
  return NULL;
4524
4556
  }
4525
- api_ClassDefinition_SharedVariables_Set(handle, val);
4557
+ api_VMError_Type_Set(handle, val);
4526
4558
  Py_INCREF(Py_None);
4527
4559
  py_retval = Py_None;
4528
4560
  return py_retval;
4529
4561
  }
4530
- PyObject * _wrap__api_api_ClassDefinition_SharedVariables_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4562
+ PyObject * _wrap__api_api_VMError_Type_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4531
4563
 
4532
4564
 
4533
4565
  PyObject *
4534
- _wrap__api_api_ClassDefinition_PublicMethods_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4566
+ _wrap__api_api_VMError_Message_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4535
4567
  {
4536
4568
  PyObject *py_retval;
4537
- int64_t retval;
4569
+ char *retval;
4538
4570
  int64_t handle;
4539
4571
  const char *keywords[] = {"handle", NULL};
4540
4572
 
4541
4573
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4542
4574
  return NULL;
4543
4575
  }
4544
- retval = api_ClassDefinition_PublicMethods_Get(handle);
4545
- py_retval = Py_BuildValue((char *) "L", retval);
4576
+ retval = api_VMError_Message_Get(handle);
4577
+ py_retval = Py_BuildValue((char *) "s", retval);
4546
4578
  return py_retval;
4547
4579
  }
4548
- PyObject * _wrap__api_api_ClassDefinition_PublicMethods_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4580
+ PyObject * _wrap__api_api_VMError_Message_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4549
4581
 
4550
4582
 
4551
4583
  PyObject *
4552
- _wrap__api_api_ClassDefinition_PublicMethods_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4584
+ _wrap__api_api_VMError_Message_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4553
4585
  {
4554
4586
  PyObject *py_retval;
4555
4587
  int64_t handle;
4556
- int64_t val;
4588
+ char *val;
4557
4589
  const char *keywords[] = {"handle", "val", NULL};
4558
4590
 
4559
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4591
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
4560
4592
  return NULL;
4561
4593
  }
4562
- api_ClassDefinition_PublicMethods_Set(handle, val);
4594
+ api_VMError_Message_Set(handle, val);
4563
4595
  Py_INCREF(Py_None);
4564
4596
  py_retval = Py_None;
4565
4597
  return py_retval;
4566
4598
  }
4567
- PyObject * _wrap__api_api_ClassDefinition_PublicMethods_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4599
+ PyObject * _wrap__api_api_VMError_Message_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4568
4600
 
4569
4601
 
4570
4602
  PyObject *
4571
- _wrap__api_api_ClassDefinition_PrivateMethods_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4603
+ _wrap__api_api_VMError_Source_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4572
4604
  {
4573
4605
  PyObject *py_retval;
4574
4606
  int64_t retval;
@@ -4578,15 +4610,15 @@ _wrap__api_api_ClassDefinition_PrivateMethods_Get(PyObject * PYBINDGEN_UNUSED(du
4578
4610
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4579
4611
  return NULL;
4580
4612
  }
4581
- retval = api_ClassDefinition_PrivateMethods_Get(handle);
4613
+ retval = api_VMError_Source_Get(handle);
4582
4614
  py_retval = Py_BuildValue((char *) "L", retval);
4583
4615
  return py_retval;
4584
4616
  }
4585
- PyObject * _wrap__api_api_ClassDefinition_PrivateMethods_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4617
+ PyObject * _wrap__api_api_VMError_Source_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4586
4618
 
4587
4619
 
4588
4620
  PyObject *
4589
- _wrap__api_api_ClassDefinition_PrivateMethods_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4621
+ _wrap__api_api_VMError_Source_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4590
4622
  {
4591
4623
  PyObject *py_retval;
4592
4624
  int64_t handle;
@@ -4596,16 +4628,16 @@ _wrap__api_api_ClassDefinition_PrivateMethods_Set(PyObject * PYBINDGEN_UNUSED(du
4596
4628
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4597
4629
  return NULL;
4598
4630
  }
4599
- api_ClassDefinition_PrivateMethods_Set(handle, val);
4631
+ api_VMError_Source_Set(handle, val);
4600
4632
  Py_INCREF(Py_None);
4601
4633
  py_retval = Py_None;
4602
4634
  return py_retval;
4603
4635
  }
4604
- PyObject * _wrap__api_api_ClassDefinition_PrivateMethods_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4636
+ PyObject * _wrap__api_api_VMError_Source_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4605
4637
 
4606
4638
 
4607
4639
  PyObject *
4608
- _wrap__api_api_ClassDefinition_UnknownFunctionHandler_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4640
+ _wrap__api_api_VMError_Duration_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4609
4641
  {
4610
4642
  PyObject *py_retval;
4611
4643
  int64_t retval;
@@ -4615,15 +4647,15 @@ _wrap__api_api_ClassDefinition_UnknownFunctionHandler_Get(PyObject * PYBINDGEN_U
4615
4647
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4616
4648
  return NULL;
4617
4649
  }
4618
- retval = api_ClassDefinition_UnknownFunctionHandler_Get(handle);
4650
+ retval = api_VMError_Duration_Get(handle);
4619
4651
  py_retval = Py_BuildValue((char *) "L", retval);
4620
4652
  return py_retval;
4621
4653
  }
4622
- PyObject * _wrap__api_api_ClassDefinition_UnknownFunctionHandler_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4654
+ PyObject * _wrap__api_api_VMError_Duration_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4623
4655
 
4624
4656
 
4625
4657
  PyObject *
4626
- _wrap__api_api_ClassDefinition_UnknownFunctionHandler_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4658
+ _wrap__api_api_VMError_Duration_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4627
4659
  {
4628
4660
  PyObject *py_retval;
4629
4661
  int64_t handle;
@@ -4633,242 +4665,252 @@ _wrap__api_api_ClassDefinition_UnknownFunctionHandler_Set(PyObject * PYBINDGEN_U
4633
4665
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4634
4666
  return NULL;
4635
4667
  }
4636
- api_ClassDefinition_UnknownFunctionHandler_Set(handle, val);
4668
+ api_VMError_Duration_Set(handle, val);
4637
4669
  Py_INCREF(Py_None);
4638
4670
  py_retval = Py_None;
4639
4671
  return py_retval;
4640
4672
  }
4641
- PyObject * _wrap__api_api_ClassDefinition_UnknownFunctionHandler_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4673
+ PyObject * _wrap__api_api_VMError_Duration_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4642
4674
 
4643
4675
 
4644
4676
  PyObject *
4645
- _wrap__api_api_ClassMethod_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4677
+ _wrap__api_api_VMError_Error(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4646
4678
  {
4647
4679
  PyObject *py_retval;
4648
- int64_t retval;
4680
+ char *retval;
4681
+ int64_t _handle;
4682
+ const char *keywords[] = {"_handle", NULL};
4649
4683
 
4650
- retval = api_ClassMethod_CTor();
4651
- py_retval = Py_BuildValue((char *) "L", retval);
4684
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4685
+ return NULL;
4686
+ }
4687
+ retval = api_VMError_Error(_handle);
4688
+ if (PyErr_Occurred()) {
4689
+ if (retval != NULL) free(retval);
4690
+ return NULL;
4691
+ }
4692
+ py_retval = Py_BuildValue((char *) "s", retval);
4693
+ free(retval);
4652
4694
  return py_retval;
4653
4695
  }
4654
- PyObject * _wrap__api_api_ClassMethod_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4696
+ PyObject * _wrap__api_api_VMError_Error(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4655
4697
 
4656
4698
 
4657
4699
  PyObject *
4658
- _wrap__api_api_ClassMethod_Name_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4700
+ _wrap__api_api_VMError_Unwrap(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4659
4701
  {
4660
4702
  PyObject *py_retval;
4661
4703
  char *retval;
4662
- int64_t handle;
4663
- const char *keywords[] = {"handle", NULL};
4704
+ int64_t _handle;
4705
+ const char *keywords[] = {"_handle", NULL};
4664
4706
 
4665
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4707
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4708
+ return NULL;
4709
+ }
4710
+ retval = api_VMError_Unwrap(_handle);
4711
+ if (PyErr_Occurred()) {
4666
4712
  return NULL;
4667
4713
  }
4668
- retval = api_ClassMethod_Name_Get(handle);
4669
4714
  py_retval = Py_BuildValue((char *) "s", retval);
4670
4715
  return py_retval;
4671
4716
  }
4672
- PyObject * _wrap__api_api_ClassMethod_Name_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4717
+ PyObject * _wrap__api_api_VMError_Unwrap(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4673
4718
 
4674
4719
 
4675
4720
  PyObject *
4676
- _wrap__api_api_ClassMethod_Name_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4721
+ _wrap__api_api_VMError_IsCompileError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4677
4722
  {
4678
4723
  PyObject *py_retval;
4679
- int64_t handle;
4680
- char *val;
4681
- const char *keywords[] = {"handle", "val", NULL};
4724
+ bool retval;
4725
+ int64_t _handle;
4726
+ const char *keywords[] = {"_handle", NULL};
4682
4727
 
4683
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
4728
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4684
4729
  return NULL;
4685
4730
  }
4686
- api_ClassMethod_Name_Set(handle, val);
4687
- Py_INCREF(Py_None);
4688
- py_retval = Py_None;
4731
+ retval = api_VMError_IsCompileError(_handle);
4732
+ if (PyErr_Occurred()) {
4733
+ return NULL;
4734
+ }
4735
+ py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4689
4736
  return py_retval;
4690
4737
  }
4691
- PyObject * _wrap__api_api_ClassMethod_Name_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4738
+ PyObject * _wrap__api_api_VMError_IsCompileError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4692
4739
 
4693
4740
 
4694
4741
  PyObject *
4695
- _wrap__api_api_ClassMethod_Argc_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4742
+ _wrap__api_api_VMError_IsRuntimeError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4696
4743
  {
4697
4744
  PyObject *py_retval;
4698
- int64_t retval;
4699
- int64_t handle;
4700
- const char *keywords[] = {"handle", NULL};
4745
+ bool retval;
4746
+ int64_t _handle;
4747
+ const char *keywords[] = {"_handle", NULL};
4701
4748
 
4702
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4749
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4703
4750
  return NULL;
4704
4751
  }
4705
- retval = api_ClassMethod_Argc_Get(handle);
4706
- py_retval = Py_BuildValue((char *) "L", retval);
4752
+ retval = api_VMError_IsRuntimeError(_handle);
4753
+ if (PyErr_Occurred()) {
4754
+ return NULL;
4755
+ }
4756
+ py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4707
4757
  return py_retval;
4708
4758
  }
4709
- PyObject * _wrap__api_api_ClassMethod_Argc_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4759
+ PyObject * _wrap__api_api_VMError_IsRuntimeError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4710
4760
 
4711
4761
 
4712
4762
  PyObject *
4713
- _wrap__api_api_ClassMethod_Argc_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4763
+ _wrap__api_api_VMError_IsTimeoutError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4714
4764
  {
4715
4765
  PyObject *py_retval;
4716
- int64_t handle;
4717
- int64_t val;
4718
- const char *keywords[] = {"handle", "val", NULL};
4766
+ bool retval;
4767
+ int64_t _handle;
4768
+ const char *keywords[] = {"_handle", NULL};
4719
4769
 
4720
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4770
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4721
4771
  return NULL;
4722
4772
  }
4723
- api_ClassMethod_Argc_Set(handle, val);
4724
- Py_INCREF(Py_None);
4725
- py_retval = Py_None;
4773
+ retval = api_VMError_IsTimeoutError(_handle);
4774
+ if (PyErr_Occurred()) {
4775
+ return NULL;
4776
+ }
4777
+ py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4726
4778
  return py_retval;
4727
4779
  }
4728
- PyObject * _wrap__api_api_ClassMethod_Argc_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4780
+ PyObject * _wrap__api_api_VMError_IsTimeoutError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4729
4781
 
4730
4782
 
4731
4783
  PyObject *
4732
- _wrap__api_api_ClassVariable_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4784
+ _wrap__api_api_VMError_IsConversionError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4733
4785
  {
4734
4786
  PyObject *py_retval;
4735
- int64_t retval;
4787
+ bool retval;
4788
+ int64_t _handle;
4789
+ const char *keywords[] = {"_handle", NULL};
4736
4790
 
4737
- retval = api_ClassVariable_CTor();
4738
- py_retval = Py_BuildValue((char *) "L", retval);
4791
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4792
+ return NULL;
4793
+ }
4794
+ retval = api_VMError_IsConversionError(_handle);
4795
+ if (PyErr_Occurred()) {
4796
+ return NULL;
4797
+ }
4798
+ py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4739
4799
  return py_retval;
4740
4800
  }
4741
- PyObject * _wrap__api_api_ClassVariable_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4801
+ PyObject * _wrap__api_api_VMError_IsConversionError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4742
4802
 
4743
4803
 
4744
4804
  PyObject *
4745
- _wrap__api_api_ClassVariable_Name_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4805
+ _wrap__api_api_VMError_IsConfigError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4746
4806
  {
4747
4807
  PyObject *py_retval;
4748
- char *retval;
4749
- int64_t handle;
4750
- const char *keywords[] = {"handle", NULL};
4808
+ bool retval;
4809
+ int64_t _handle;
4810
+ const char *keywords[] = {"_handle", NULL};
4751
4811
 
4752
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4812
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4753
4813
  return NULL;
4754
4814
  }
4755
- retval = api_ClassVariable_Name_Get(handle);
4756
- py_retval = Py_BuildValue((char *) "s", retval);
4815
+ retval = api_VMError_IsConfigError(_handle);
4816
+ if (PyErr_Occurred()) {
4817
+ return NULL;
4818
+ }
4819
+ py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4757
4820
  return py_retval;
4758
4821
  }
4759
- PyObject * _wrap__api_api_ClassVariable_Name_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4822
+ PyObject * _wrap__api_api_VMError_IsConfigError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4760
4823
 
4761
4824
 
4762
4825
  PyObject *
4763
- _wrap__api_api_ClassVariable_Name_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4826
+ _wrap__api_api_ClassDefinition_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4764
4827
  {
4765
4828
  PyObject *py_retval;
4766
- int64_t handle;
4767
- char *val;
4768
- const char *keywords[] = {"handle", "val", NULL};
4829
+ int64_t retval;
4769
4830
 
4770
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
4771
- return NULL;
4772
- }
4773
- api_ClassVariable_Name_Set(handle, val);
4774
- Py_INCREF(Py_None);
4775
- py_retval = Py_None;
4831
+ retval = api_ClassDefinition_CTor();
4832
+ py_retval = Py_BuildValue((char *) "L", retval);
4776
4833
  return py_retval;
4777
4834
  }
4778
- PyObject * _wrap__api_api_ClassVariable_Name_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4835
+ PyObject * _wrap__api_api_ClassDefinition_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4779
4836
 
4780
4837
 
4781
4838
  PyObject *
4782
- _wrap__api_api_ClassVariable_Value_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4839
+ _wrap__api_api_ClassDefinition_Name_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4783
4840
  {
4784
4841
  PyObject *py_retval;
4785
- int64_t retval;
4842
+ char *retval;
4786
4843
  int64_t handle;
4787
4844
  const char *keywords[] = {"handle", NULL};
4788
4845
 
4789
4846
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4790
4847
  return NULL;
4791
4848
  }
4792
- retval = api_ClassVariable_Value_Get(handle);
4793
- py_retval = Py_BuildValue((char *) "L", retval);
4849
+ retval = api_ClassDefinition_Name_Get(handle);
4850
+ py_retval = Py_BuildValue((char *) "s", retval);
4794
4851
  return py_retval;
4795
4852
  }
4796
- PyObject * _wrap__api_api_ClassVariable_Value_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4853
+ PyObject * _wrap__api_api_ClassDefinition_Name_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4797
4854
 
4798
4855
 
4799
4856
  PyObject *
4800
- _wrap__api_api_ClassVariable_Value_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4857
+ _wrap__api_api_ClassDefinition_Name_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4801
4858
  {
4802
4859
  PyObject *py_retval;
4803
4860
  int64_t handle;
4804
- int64_t val;
4861
+ char *val;
4805
4862
  const char *keywords[] = {"handle", "val", NULL};
4806
4863
 
4807
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4864
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
4808
4865
  return NULL;
4809
4866
  }
4810
- api_ClassVariable_Value_Set(handle, val);
4867
+ api_ClassDefinition_Name_Set(handle, val);
4811
4868
  Py_INCREF(Py_None);
4812
4869
  py_retval = Py_None;
4813
4870
  return py_retval;
4814
4871
  }
4815
- PyObject * _wrap__api_api_ClassVariable_Value_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4872
+ PyObject * _wrap__api_api_ClassDefinition_Name_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4816
4873
 
4817
4874
 
4818
4875
  PyObject *
4819
- _wrap__api_api_ClassVariable_Locked_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4876
+ _wrap__api_api_ClassDefinition_PublicVariables_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4820
4877
  {
4821
4878
  PyObject *py_retval;
4822
- bool retval;
4879
+ int64_t retval;
4823
4880
  int64_t handle;
4824
4881
  const char *keywords[] = {"handle", NULL};
4825
4882
 
4826
4883
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4827
4884
  return NULL;
4828
4885
  }
4829
- retval = api_ClassVariable_Locked_Get(handle);
4830
- py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4886
+ retval = api_ClassDefinition_PublicVariables_Get(handle);
4887
+ py_retval = Py_BuildValue((char *) "L", retval);
4831
4888
  return py_retval;
4832
4889
  }
4833
- PyObject * _wrap__api_api_ClassVariable_Locked_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4890
+ PyObject * _wrap__api_api_ClassDefinition_PublicVariables_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4834
4891
 
4835
4892
 
4836
4893
  PyObject *
4837
- _wrap__api_api_ClassVariable_Locked_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4894
+ _wrap__api_api_ClassDefinition_PublicVariables_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4838
4895
  {
4839
4896
  PyObject *py_retval;
4840
4897
  int64_t handle;
4841
- bool val;
4842
- PyObject *py_val;
4898
+ int64_t val;
4843
4899
  const char *keywords[] = {"handle", "val", NULL};
4844
4900
 
4845
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LO", (char **) keywords, &handle, &py_val)) {
4901
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4846
4902
  return NULL;
4847
4903
  }
4848
- val = (bool) PyObject_IsTrue(py_val);
4849
- api_ClassVariable_Locked_Set(handle, val);
4904
+ api_ClassDefinition_PublicVariables_Set(handle, val);
4850
4905
  Py_INCREF(Py_None);
4851
4906
  py_retval = Py_None;
4852
4907
  return py_retval;
4853
4908
  }
4854
- PyObject * _wrap__api_api_ClassVariable_Locked_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4855
-
4856
-
4857
- PyObject *
4858
- _wrap__api_api_ExecutionResult_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4859
- {
4860
- PyObject *py_retval;
4861
- int64_t retval;
4862
-
4863
- retval = api_ExecutionResult_CTor();
4864
- py_retval = Py_BuildValue((char *) "L", retval);
4865
- return py_retval;
4866
- }
4867
- PyObject * _wrap__api_api_ExecutionResult_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4909
+ PyObject * _wrap__api_api_ClassDefinition_PublicVariables_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4868
4910
 
4869
4911
 
4870
4912
  PyObject *
4871
- _wrap__api_api_ExecutionResult_Value_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4913
+ _wrap__api_api_ClassDefinition_PrivateVariables_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4872
4914
  {
4873
4915
  PyObject *py_retval;
4874
4916
  int64_t retval;
@@ -4878,15 +4920,15 @@ _wrap__api_api_ExecutionResult_Value_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyO
4878
4920
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4879
4921
  return NULL;
4880
4922
  }
4881
- retval = api_ExecutionResult_Value_Get(handle);
4923
+ retval = api_ClassDefinition_PrivateVariables_Get(handle);
4882
4924
  py_retval = Py_BuildValue((char *) "L", retval);
4883
4925
  return py_retval;
4884
4926
  }
4885
- PyObject * _wrap__api_api_ExecutionResult_Value_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4927
+ PyObject * _wrap__api_api_ClassDefinition_PrivateVariables_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4886
4928
 
4887
4929
 
4888
4930
  PyObject *
4889
- _wrap__api_api_ExecutionResult_Value_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4931
+ _wrap__api_api_ClassDefinition_PrivateVariables_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4890
4932
  {
4891
4933
  PyObject *py_retval;
4892
4934
  int64_t handle;
@@ -4896,16 +4938,16 @@ _wrap__api_api_ExecutionResult_Value_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyO
4896
4938
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4897
4939
  return NULL;
4898
4940
  }
4899
- api_ExecutionResult_Value_Set(handle, val);
4941
+ api_ClassDefinition_PrivateVariables_Set(handle, val);
4900
4942
  Py_INCREF(Py_None);
4901
4943
  py_retval = Py_None;
4902
4944
  return py_retval;
4903
4945
  }
4904
- PyObject * _wrap__api_api_ExecutionResult_Value_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4946
+ PyObject * _wrap__api_api_ClassDefinition_PrivateVariables_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4905
4947
 
4906
4948
 
4907
4949
  PyObject *
4908
- _wrap__api_api_ExecutionResult_RawValue_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4950
+ _wrap__api_api_ClassDefinition_SharedVariables_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4909
4951
  {
4910
4952
  PyObject *py_retval;
4911
4953
  int64_t retval;
@@ -4915,15 +4957,15 @@ _wrap__api_api_ExecutionResult_RawValue_Get(PyObject * PYBINDGEN_UNUSED(dummy),
4915
4957
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4916
4958
  return NULL;
4917
4959
  }
4918
- retval = api_ExecutionResult_RawValue_Get(handle);
4960
+ retval = api_ClassDefinition_SharedVariables_Get(handle);
4919
4961
  py_retval = Py_BuildValue((char *) "L", retval);
4920
4962
  return py_retval;
4921
4963
  }
4922
- PyObject * _wrap__api_api_ExecutionResult_RawValue_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4964
+ PyObject * _wrap__api_api_ClassDefinition_SharedVariables_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4923
4965
 
4924
4966
 
4925
4967
  PyObject *
4926
- _wrap__api_api_ExecutionResult_RawValue_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4968
+ _wrap__api_api_ClassDefinition_SharedVariables_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4927
4969
  {
4928
4970
  PyObject *py_retval;
4929
4971
  int64_t handle;
@@ -4933,602 +4975,560 @@ _wrap__api_api_ExecutionResult_RawValue_Set(PyObject * PYBINDGEN_UNUSED(dummy),
4933
4975
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4934
4976
  return NULL;
4935
4977
  }
4936
- api_ExecutionResult_RawValue_Set(handle, val);
4978
+ api_ClassDefinition_SharedVariables_Set(handle, val);
4937
4979
  Py_INCREF(Py_None);
4938
4980
  py_retval = Py_None;
4939
4981
  return py_retval;
4940
4982
  }
4941
- PyObject * _wrap__api_api_ExecutionResult_RawValue_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4983
+ PyObject * _wrap__api_api_ClassDefinition_SharedVariables_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4942
4984
 
4943
4985
 
4944
4986
  PyObject *
4945
- _wrap__api_api_ExecutionResult_Output_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4987
+ _wrap__api_api_ClassDefinition_PublicMethods_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4946
4988
  {
4947
4989
  PyObject *py_retval;
4948
- char *retval;
4990
+ int64_t retval;
4949
4991
  int64_t handle;
4950
4992
  const char *keywords[] = {"handle", NULL};
4951
4993
 
4952
4994
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4953
4995
  return NULL;
4954
4996
  }
4955
- retval = api_ExecutionResult_Output_Get(handle);
4956
- py_retval = Py_BuildValue((char *) "s", retval);
4997
+ retval = api_ClassDefinition_PublicMethods_Get(handle);
4998
+ py_retval = Py_BuildValue((char *) "L", retval);
4957
4999
  return py_retval;
4958
5000
  }
4959
- PyObject * _wrap__api_api_ExecutionResult_Output_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5001
+ PyObject * _wrap__api_api_ClassDefinition_PublicMethods_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4960
5002
 
4961
5003
 
4962
5004
  PyObject *
4963
- _wrap__api_api_ExecutionResult_Output_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5005
+ _wrap__api_api_ClassDefinition_PublicMethods_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4964
5006
  {
4965
5007
  PyObject *py_retval;
4966
5008
  int64_t handle;
4967
- char *val;
5009
+ int64_t val;
4968
5010
  const char *keywords[] = {"handle", "val", NULL};
4969
5011
 
4970
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
5012
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4971
5013
  return NULL;
4972
5014
  }
4973
- api_ExecutionResult_Output_Set(handle, val);
5015
+ api_ClassDefinition_PublicMethods_Set(handle, val);
4974
5016
  Py_INCREF(Py_None);
4975
5017
  py_retval = Py_None;
4976
5018
  return py_retval;
4977
5019
  }
4978
- PyObject * _wrap__api_api_ExecutionResult_Output_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5020
+ PyObject * _wrap__api_api_ClassDefinition_PublicMethods_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4979
5021
 
4980
5022
 
4981
5023
  PyObject *
4982
- _wrap__api_api_GoValue_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
5024
+ _wrap__api_api_ClassDefinition_PrivateMethods_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4983
5025
  {
4984
5026
  PyObject *py_retval;
4985
5027
  int64_t retval;
5028
+ int64_t handle;
5029
+ const char *keywords[] = {"handle", NULL};
4986
5030
 
4987
- retval = api_GoValue_CTor();
5031
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
5032
+ return NULL;
5033
+ }
5034
+ retval = api_ClassDefinition_PrivateMethods_Get(handle);
4988
5035
  py_retval = Py_BuildValue((char *) "L", retval);
4989
5036
  return py_retval;
4990
5037
  }
4991
- PyObject * _wrap__api_api_GoValue_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
5038
+ PyObject * _wrap__api_api_ClassDefinition_PrivateMethods_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4992
5039
 
4993
5040
 
4994
5041
  PyObject *
4995
- _wrap__api_api_GoValue_ID(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5042
+ _wrap__api_api_ClassDefinition_PrivateMethods_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4996
5043
  {
4997
5044
  PyObject *py_retval;
4998
- char *retval;
4999
- int64_t _handle;
5000
- const char *keywords[] = {"_handle", NULL};
5045
+ int64_t handle;
5046
+ int64_t val;
5047
+ const char *keywords[] = {"handle", "val", NULL};
5001
5048
 
5002
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
5003
- return NULL;
5004
- }
5005
- retval = api_GoValue_ID(_handle);
5006
- if (PyErr_Occurred()) {
5007
- if (retval != NULL) free(retval);
5049
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
5008
5050
  return NULL;
5009
5051
  }
5010
- py_retval = Py_BuildValue((char *) "s", retval);
5011
- free(retval);
5052
+ api_ClassDefinition_PrivateMethods_Set(handle, val);
5053
+ Py_INCREF(Py_None);
5054
+ py_retval = Py_None;
5012
5055
  return py_retval;
5013
5056
  }
5014
- PyObject * _wrap__api_api_GoValue_ID(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5057
+ PyObject * _wrap__api_api_ClassDefinition_PrivateMethods_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5015
5058
 
5016
5059
 
5017
5060
  PyObject *
5018
- _wrap__api_api_GoValue_MarshalJSON(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5061
+ _wrap__api_api_ClassDefinition_UnknownFunctionHandler_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5019
5062
  {
5020
5063
  PyObject *py_retval;
5021
5064
  int64_t retval;
5022
- int64_t _handle;
5023
- const char *keywords[] = {"_handle", NULL};
5065
+ int64_t handle;
5066
+ const char *keywords[] = {"handle", NULL};
5024
5067
 
5025
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
5026
- return NULL;
5027
- }
5028
- retval = api_GoValue_MarshalJSON(_handle);
5029
- if (PyErr_Occurred()) {
5068
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
5030
5069
  return NULL;
5031
5070
  }
5071
+ retval = api_ClassDefinition_UnknownFunctionHandler_Get(handle);
5032
5072
  py_retval = Py_BuildValue((char *) "L", retval);
5033
5073
  return py_retval;
5034
5074
  }
5035
- PyObject * _wrap__api_api_GoValue_MarshalJSON(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5075
+ PyObject * _wrap__api_api_ClassDefinition_UnknownFunctionHandler_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5036
5076
 
5037
5077
 
5038
5078
  PyObject *
5039
- _wrap__api_api_GoValue_Type(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5079
+ _wrap__api_api_ClassDefinition_UnknownFunctionHandler_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5040
5080
  {
5041
5081
  PyObject *py_retval;
5042
- char *retval;
5043
- int64_t _handle;
5044
- const char *keywords[] = {"_handle", NULL};
5082
+ int64_t handle;
5083
+ int64_t val;
5084
+ const char *keywords[] = {"handle", "val", NULL};
5045
5085
 
5046
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
5047
- return NULL;
5048
- }
5049
- retval = api_GoValue_Type(_handle);
5050
- if (PyErr_Occurred()) {
5051
- if (retval != NULL) free(retval);
5086
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
5052
5087
  return NULL;
5053
5088
  }
5054
- py_retval = Py_BuildValue((char *) "s", retval);
5055
- free(retval);
5089
+ api_ClassDefinition_UnknownFunctionHandler_Set(handle, val);
5090
+ Py_INCREF(Py_None);
5091
+ py_retval = Py_None;
5056
5092
  return py_retval;
5057
5093
  }
5058
- PyObject * _wrap__api_api_GoValue_Type(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5094
+ PyObject * _wrap__api_api_ClassDefinition_UnknownFunctionHandler_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5059
5095
 
5060
5096
 
5061
5097
  PyObject *
5062
- _wrap__api_api_GoValue_Int(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5098
+ _wrap__api_api_ClassVariable_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
5063
5099
  {
5064
5100
  PyObject *py_retval;
5065
5101
  int64_t retval;
5066
- int64_t _handle;
5067
- const char *keywords[] = {"_handle", NULL};
5068
5102
 
5069
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
5070
- return NULL;
5071
- }
5072
- retval = api_GoValue_Int(_handle);
5073
- if (PyErr_Occurred()) {
5074
- return NULL;
5075
- }
5103
+ retval = api_ClassVariable_CTor();
5076
5104
  py_retval = Py_BuildValue((char *) "L", retval);
5077
5105
  return py_retval;
5078
5106
  }
5079
- PyObject * _wrap__api_api_GoValue_Int(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5080
-
5081
-
5082
- PyObject *
5083
- _wrap__api_api_GoValue_Float(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5084
- {
5085
- PyObject *py_retval;
5086
- double retval;
5087
- int64_t _handle;
5088
- const char *keywords[] = {"_handle", NULL};
5089
-
5090
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
5091
- return NULL;
5092
- }
5093
- retval = api_GoValue_Float(_handle);
5094
- if (PyErr_Occurred()) {
5095
- return NULL;
5096
- }
5097
- py_retval = Py_BuildValue((char *) "d", retval);
5098
- return py_retval;
5099
- }
5100
- PyObject * _wrap__api_api_GoValue_Float(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5107
+ PyObject * _wrap__api_api_ClassVariable_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
5101
5108
 
5102
5109
 
5103
5110
  PyObject *
5104
- _wrap__api_api_GoValue_String(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5111
+ _wrap__api_api_ClassVariable_Name_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5105
5112
  {
5106
5113
  PyObject *py_retval;
5107
5114
  char *retval;
5108
- int64_t _handle;
5109
- const char *keywords[] = {"_handle", NULL};
5115
+ int64_t handle;
5116
+ const char *keywords[] = {"handle", NULL};
5110
5117
 
5111
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
5112
- return NULL;
5113
- }
5114
- retval = api_GoValue_String(_handle);
5115
- if (PyErr_Occurred()) {
5116
- if (retval != NULL) free(retval);
5118
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
5117
5119
  return NULL;
5118
5120
  }
5121
+ retval = api_ClassVariable_Name_Get(handle);
5119
5122
  py_retval = Py_BuildValue((char *) "s", retval);
5120
- free(retval);
5121
5123
  return py_retval;
5122
5124
  }
5123
- PyObject * _wrap__api_api_GoValue_String(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5125
+ PyObject * _wrap__api_api_ClassVariable_Name_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5124
5126
 
5125
5127
 
5126
5128
  PyObject *
5127
- _wrap__api_api_GoValue_Bool(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5129
+ _wrap__api_api_ClassVariable_Name_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5128
5130
  {
5129
5131
  PyObject *py_retval;
5130
- bool retval;
5131
- int64_t _handle;
5132
- const char *keywords[] = {"_handle", NULL};
5132
+ int64_t handle;
5133
+ char *val;
5134
+ const char *keywords[] = {"handle", "val", NULL};
5133
5135
 
5134
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
5135
- return NULL;
5136
- }
5137
- retval = api_GoValue_Bool(_handle);
5138
- if (PyErr_Occurred()) {
5136
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
5139
5137
  return NULL;
5140
5138
  }
5141
- py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
5139
+ api_ClassVariable_Name_Set(handle, val);
5140
+ Py_INCREF(Py_None);
5141
+ py_retval = Py_None;
5142
5142
  return py_retval;
5143
5143
  }
5144
- PyObject * _wrap__api_api_GoValue_Bool(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5144
+ PyObject * _wrap__api_api_ClassVariable_Name_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5145
5145
 
5146
5146
 
5147
5147
  PyObject *
5148
- _wrap__api_api_GoValue_Slice(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5148
+ _wrap__api_api_ClassVariable_Value_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5149
5149
  {
5150
5150
  PyObject *py_retval;
5151
5151
  int64_t retval;
5152
- int64_t _handle;
5153
- const char *keywords[] = {"_handle", NULL};
5152
+ int64_t handle;
5153
+ const char *keywords[] = {"handle", NULL};
5154
5154
 
5155
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
5156
- return NULL;
5157
- }
5158
- retval = api_GoValue_Slice(_handle);
5159
- if (PyErr_Occurred()) {
5155
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
5160
5156
  return NULL;
5161
5157
  }
5158
+ retval = api_ClassVariable_Value_Get(handle);
5162
5159
  py_retval = Py_BuildValue((char *) "L", retval);
5163
5160
  return py_retval;
5164
5161
  }
5165
- PyObject * _wrap__api_api_GoValue_Slice(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5162
+ PyObject * _wrap__api_api_ClassVariable_Value_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5166
5163
 
5167
5164
 
5168
5165
  PyObject *
5169
- _wrap__api_api_GoValue_Map(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5166
+ _wrap__api_api_ClassVariable_Value_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5170
5167
  {
5171
5168
  PyObject *py_retval;
5172
- int64_t retval;
5173
- int64_t _handle;
5174
- const char *keywords[] = {"_handle", NULL};
5169
+ int64_t handle;
5170
+ int64_t val;
5171
+ const char *keywords[] = {"handle", "val", NULL};
5175
5172
 
5176
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
5177
- return NULL;
5178
- }
5179
- retval = api_GoValue_Map(_handle);
5180
- if (PyErr_Occurred()) {
5173
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
5181
5174
  return NULL;
5182
5175
  }
5183
- py_retval = Py_BuildValue((char *) "L", retval);
5176
+ api_ClassVariable_Value_Set(handle, val);
5177
+ Py_INCREF(Py_None);
5178
+ py_retval = Py_None;
5184
5179
  return py_retval;
5185
5180
  }
5186
- PyObject * _wrap__api_api_GoValue_Map(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5181
+ PyObject * _wrap__api_api_ClassVariable_Value_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5187
5182
 
5188
5183
 
5189
5184
  PyObject *
5190
- _wrap__api_api_GoValue_Object(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5185
+ _wrap__api_api_ClassVariable_Locked_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5191
5186
  {
5192
5187
  PyObject *py_retval;
5193
- int64_t retval;
5194
- int64_t _handle;
5195
- const char *keywords[] = {"_handle", NULL};
5188
+ bool retval;
5189
+ int64_t handle;
5190
+ const char *keywords[] = {"handle", NULL};
5196
5191
 
5197
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
5198
- return NULL;
5199
- }
5200
- retval = api_GoValue_Object(_handle);
5201
- if (PyErr_Occurred()) {
5192
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
5202
5193
  return NULL;
5203
5194
  }
5204
- py_retval = Py_BuildValue((char *) "L", retval);
5195
+ retval = api_ClassVariable_Locked_Get(handle);
5196
+ py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
5205
5197
  return py_retval;
5206
5198
  }
5207
- PyObject * _wrap__api_api_GoValue_Object(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5199
+ PyObject * _wrap__api_api_ClassVariable_Locked_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5208
5200
 
5209
5201
 
5210
5202
  PyObject *
5211
- _wrap__api_api_UnknownFunctionHandler_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
5203
+ _wrap__api_api_ClassVariable_Locked_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5212
5204
  {
5213
5205
  PyObject *py_retval;
5214
- int64_t retval;
5206
+ int64_t handle;
5207
+ bool val;
5208
+ PyObject *py_val;
5209
+ const char *keywords[] = {"handle", "val", NULL};
5215
5210
 
5216
- retval = api_UnknownFunctionHandler_CTor();
5217
- py_retval = Py_BuildValue((char *) "L", retval);
5211
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LO", (char **) keywords, &handle, &py_val)) {
5212
+ return NULL;
5213
+ }
5214
+ val = (bool) PyObject_IsTrue(py_val);
5215
+ api_ClassVariable_Locked_Set(handle, val);
5216
+ Py_INCREF(Py_None);
5217
+ py_retval = Py_None;
5218
5218
  return py_retval;
5219
5219
  }
5220
- PyObject * _wrap__api_api_UnknownFunctionHandler_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
5220
+ PyObject * _wrap__api_api_ClassVariable_Locked_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5221
5221
 
5222
5222
 
5223
5223
  PyObject *
5224
- _wrap__api_api_NewVM(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5224
+ _wrap__api_api_WrapBool(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5225
5225
  {
5226
5226
  PyObject *py_retval;
5227
5227
  int64_t retval;
5228
- int64_t config;
5229
- const char *keywords[] = {"config", NULL};
5228
+ bool value;
5229
+ PyObject *py_value;
5230
+ const char *keywords[] = {"value", NULL};
5230
5231
 
5231
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &config)) {
5232
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "O", (char **) keywords, &py_value)) {
5232
5233
  return NULL;
5233
5234
  }
5234
- retval = api_NewVM(config);
5235
+ value = (bool) PyObject_IsTrue(py_value);
5236
+ retval = api_WrapBool(value);
5235
5237
  if (PyErr_Occurred()) {
5236
5238
  return NULL;
5237
5239
  }
5238
5240
  py_retval = Py_BuildValue((char *) "L", retval);
5239
5241
  return py_retval;
5240
5242
  }
5241
- PyObject * _wrap__api_api_NewVM(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5243
+ PyObject * _wrap__api_api_WrapBool(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5242
5244
 
5243
5245
 
5244
5246
  PyObject *
5245
- _wrap__api_api_DefaultConfig(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
5247
+ _wrap__api_api_WrapObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5246
5248
  {
5247
5249
  PyObject *py_retval;
5248
5250
  int64_t retval;
5251
+ int64_t value;
5252
+ const char *keywords[] = {"value", NULL};
5249
5253
 
5250
- retval = api_DefaultConfig();
5254
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &value)) {
5255
+ return NULL;
5256
+ }
5257
+ retval = api_WrapObject(value);
5251
5258
  if (PyErr_Occurred()) {
5252
5259
  return NULL;
5253
5260
  }
5254
5261
  py_retval = Py_BuildValue((char *) "L", retval);
5255
5262
  return py_retval;
5256
5263
  }
5257
- PyObject * _wrap__api_api_DefaultConfig(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
5264
+ PyObject * _wrap__api_api_WrapObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5258
5265
 
5259
5266
 
5260
5267
  PyObject *
5261
- _wrap__api_api_NewCompileError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5268
+ _wrap__api_api_WrapAny(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5262
5269
  {
5263
5270
  PyObject *py_retval;
5264
5271
  int64_t retval;
5265
- char *message;
5266
- int64_t source;
5267
- const char *keywords[] = {"message", "source", NULL};
5272
+ char *value;
5273
+ const char *keywords[] = {"value", NULL};
5268
5274
 
5269
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "sL", (char **) keywords, &message, &source)) {
5275
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "s", (char **) keywords, &value)) {
5270
5276
  return NULL;
5271
5277
  }
5272
- retval = api_NewCompileError(message, source);
5278
+ retval = api_WrapAny(value);
5273
5279
  if (PyErr_Occurred()) {
5274
5280
  return NULL;
5275
5281
  }
5276
5282
  py_retval = Py_BuildValue((char *) "L", retval);
5277
5283
  return py_retval;
5278
5284
  }
5279
- PyObject * _wrap__api_api_NewCompileError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5285
+ PyObject * _wrap__api_api_WrapAny(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5280
5286
 
5281
5287
 
5282
5288
  PyObject *
5283
- _wrap__api_api_NewTimeoutError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5289
+ _wrap__api_api_WrapInt(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5284
5290
  {
5285
5291
  PyObject *py_retval;
5286
5292
  int64_t retval;
5287
- int64_t duration;
5288
- const char *keywords[] = {"duration", NULL};
5293
+ int64_t value;
5294
+ const char *keywords[] = {"value", NULL};
5289
5295
 
5290
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &duration)) {
5296
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &value)) {
5291
5297
  return NULL;
5292
5298
  }
5293
- retval = api_NewTimeoutError(duration);
5299
+ retval = api_WrapInt(value);
5294
5300
  if (PyErr_Occurred()) {
5295
5301
  return NULL;
5296
5302
  }
5297
5303
  py_retval = Py_BuildValue((char *) "L", retval);
5298
5304
  return py_retval;
5299
5305
  }
5300
- PyObject * _wrap__api_api_NewTimeoutError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5306
+ PyObject * _wrap__api_api_WrapInt(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5301
5307
 
5302
5308
 
5303
5309
  PyObject *
5304
- _wrap__api_api_NewConfigError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5310
+ _wrap__api_api_ToGoValue(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5305
5311
  {
5306
5312
  PyObject *py_retval;
5307
5313
  int64_t retval;
5308
- char *message;
5309
- char *wrapped;
5310
- const char *keywords[] = {"message", "wrapped", NULL};
5314
+ int64_t val;
5315
+ const char *keywords[] = {"val", NULL};
5311
5316
 
5312
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "ss", (char **) keywords, &message, &wrapped)) {
5317
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &val)) {
5313
5318
  return NULL;
5314
5319
  }
5315
- retval = api_NewConfigError(message, wrapped);
5320
+ retval = api_ToGoValue(val);
5316
5321
  if (PyErr_Occurred()) {
5317
5322
  return NULL;
5318
5323
  }
5319
5324
  py_retval = Py_BuildValue((char *) "L", retval);
5320
5325
  return py_retval;
5321
5326
  }
5322
- PyObject * _wrap__api_api_NewConfigError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5327
+ PyObject * _wrap__api_api_ToGoValue(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5323
5328
 
5324
5329
 
5325
5330
  PyObject *
5326
- _wrap__api_api_NewConversionError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5331
+ _wrap__api_api_WrapFloat(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5327
5332
  {
5328
5333
  PyObject *py_retval;
5329
5334
  int64_t retval;
5330
- char *message;
5331
- char *wrapped;
5332
- const char *keywords[] = {"message", "wrapped", NULL};
5335
+ double value;
5336
+ const char *keywords[] = {"value", NULL};
5333
5337
 
5334
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "ss", (char **) keywords, &message, &wrapped)) {
5338
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "d", (char **) keywords, &value)) {
5335
5339
  return NULL;
5336
5340
  }
5337
- retval = api_NewConversionError(message, wrapped);
5341
+ retval = api_WrapFloat(value);
5338
5342
  if (PyErr_Occurred()) {
5339
5343
  return NULL;
5340
5344
  }
5341
5345
  py_retval = Py_BuildValue((char *) "L", retval);
5342
5346
  return py_retval;
5343
5347
  }
5344
- PyObject * _wrap__api_api_NewConversionError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5348
+ PyObject * _wrap__api_api_WrapFloat(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5345
5349
 
5346
5350
 
5347
5351
  PyObject *
5348
- _wrap__api_api_NewRuntimeError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5352
+ _wrap__api_api_WrapString(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5349
5353
  {
5350
5354
  PyObject *py_retval;
5351
5355
  int64_t retval;
5352
- char *message;
5353
- int64_t source;
5354
- const char *keywords[] = {"message", "source", NULL};
5356
+ char *value;
5357
+ const char *keywords[] = {"value", NULL};
5355
5358
 
5356
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "sL", (char **) keywords, &message, &source)) {
5359
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "s", (char **) keywords, &value)) {
5357
5360
  return NULL;
5358
5361
  }
5359
- retval = api_NewRuntimeError(message, source);
5362
+ retval = api_WrapString(value);
5360
5363
  if (PyErr_Occurred()) {
5361
5364
  return NULL;
5362
5365
  }
5363
5366
  py_retval = Py_BuildValue((char *) "L", retval);
5364
5367
  return py_retval;
5365
5368
  }
5366
- PyObject * _wrap__api_api_NewRuntimeError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5369
+ PyObject * _wrap__api_api_WrapString(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5367
5370
 
5368
5371
 
5369
5372
  PyObject *
5370
- _wrap__api_api_NewClassDefinition(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
5373
+ _wrap__api_api_NewVM(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5371
5374
  {
5372
5375
  PyObject *py_retval;
5373
5376
  int64_t retval;
5377
+ int64_t config;
5378
+ const char *keywords[] = {"config", NULL};
5374
5379
 
5375
- retval = api_NewClassDefinition();
5380
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &config)) {
5381
+ return NULL;
5382
+ }
5383
+ retval = api_NewVM(config);
5376
5384
  if (PyErr_Occurred()) {
5377
5385
  return NULL;
5378
5386
  }
5379
5387
  py_retval = Py_BuildValue((char *) "L", retval);
5380
5388
  return py_retval;
5381
5389
  }
5382
- PyObject * _wrap__api_api_NewClassDefinition(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
5390
+ PyObject * _wrap__api_api_NewVM(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5383
5391
 
5384
5392
 
5385
5393
  PyObject *
5386
- _wrap__api_api_ToGoValue(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5394
+ _wrap__api_api_DefaultConfig(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
5387
5395
  {
5388
5396
  PyObject *py_retval;
5389
5397
  int64_t retval;
5390
- int64_t val;
5391
- const char *keywords[] = {"val", NULL};
5392
5398
 
5393
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &val)) {
5394
- return NULL;
5395
- }
5396
- retval = api_ToGoValue(val);
5399
+ retval = api_DefaultConfig();
5397
5400
  if (PyErr_Occurred()) {
5398
5401
  return NULL;
5399
5402
  }
5400
5403
  py_retval = Py_BuildValue((char *) "L", retval);
5401
5404
  return py_retval;
5402
5405
  }
5403
- PyObject * _wrap__api_api_ToGoValue(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5406
+ PyObject * _wrap__api_api_DefaultConfig(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
5404
5407
 
5405
5408
 
5406
5409
  PyObject *
5407
- _wrap__api_api_WrapObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5410
+ _wrap__api_api_NewRuntimeError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5408
5411
  {
5409
5412
  PyObject *py_retval;
5410
5413
  int64_t retval;
5411
- int64_t value;
5412
- const char *keywords[] = {"value", NULL};
5414
+ char *message;
5415
+ int64_t source;
5416
+ const char *keywords[] = {"message", "source", NULL};
5413
5417
 
5414
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &value)) {
5418
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "sL", (char **) keywords, &message, &source)) {
5415
5419
  return NULL;
5416
5420
  }
5417
- retval = api_WrapObject(value);
5421
+ retval = api_NewRuntimeError(message, source);
5418
5422
  if (PyErr_Occurred()) {
5419
5423
  return NULL;
5420
5424
  }
5421
5425
  py_retval = Py_BuildValue((char *) "L", retval);
5422
5426
  return py_retval;
5423
5427
  }
5424
- PyObject * _wrap__api_api_WrapObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5428
+ PyObject * _wrap__api_api_NewRuntimeError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5425
5429
 
5426
5430
 
5427
5431
  PyObject *
5428
- _wrap__api_api_WrapBool(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5432
+ _wrap__api_api_NewTimeoutError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5429
5433
  {
5430
5434
  PyObject *py_retval;
5431
5435
  int64_t retval;
5432
- bool value;
5433
- PyObject *py_value;
5434
- const char *keywords[] = {"value", NULL};
5436
+ int64_t duration;
5437
+ const char *keywords[] = {"duration", NULL};
5435
5438
 
5436
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "O", (char **) keywords, &py_value)) {
5439
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &duration)) {
5437
5440
  return NULL;
5438
5441
  }
5439
- value = (bool) PyObject_IsTrue(py_value);
5440
- retval = api_WrapBool(value);
5442
+ retval = api_NewTimeoutError(duration);
5441
5443
  if (PyErr_Occurred()) {
5442
5444
  return NULL;
5443
5445
  }
5444
5446
  py_retval = Py_BuildValue((char *) "L", retval);
5445
5447
  return py_retval;
5446
5448
  }
5447
- PyObject * _wrap__api_api_WrapBool(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5449
+ PyObject * _wrap__api_api_NewTimeoutError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5448
5450
 
5449
5451
 
5450
5452
  PyObject *
5451
- _wrap__api_api_WrapString(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5453
+ _wrap__api_api_NewConversionError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5452
5454
  {
5453
5455
  PyObject *py_retval;
5454
5456
  int64_t retval;
5455
- char *value;
5456
- const char *keywords[] = {"value", NULL};
5457
+ char *message;
5458
+ char *wrapped;
5459
+ const char *keywords[] = {"message", "wrapped", NULL};
5457
5460
 
5458
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "s", (char **) keywords, &value)) {
5461
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "ss", (char **) keywords, &message, &wrapped)) {
5459
5462
  return NULL;
5460
5463
  }
5461
- retval = api_WrapString(value);
5464
+ retval = api_NewConversionError(message, wrapped);
5462
5465
  if (PyErr_Occurred()) {
5463
5466
  return NULL;
5464
5467
  }
5465
5468
  py_retval = Py_BuildValue((char *) "L", retval);
5466
5469
  return py_retval;
5467
5470
  }
5468
- PyObject * _wrap__api_api_WrapString(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5471
+ PyObject * _wrap__api_api_NewConversionError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5469
5472
 
5470
5473
 
5471
5474
  PyObject *
5472
- _wrap__api_api_WrapInt(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5475
+ _wrap__api_api_NewCompileError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5473
5476
  {
5474
5477
  PyObject *py_retval;
5475
5478
  int64_t retval;
5476
- int64_t value;
5477
- const char *keywords[] = {"value", NULL};
5479
+ char *message;
5480
+ int64_t source;
5481
+ const char *keywords[] = {"message", "source", NULL};
5478
5482
 
5479
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &value)) {
5483
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "sL", (char **) keywords, &message, &source)) {
5480
5484
  return NULL;
5481
5485
  }
5482
- retval = api_WrapInt(value);
5486
+ retval = api_NewCompileError(message, source);
5483
5487
  if (PyErr_Occurred()) {
5484
5488
  return NULL;
5485
5489
  }
5486
5490
  py_retval = Py_BuildValue((char *) "L", retval);
5487
5491
  return py_retval;
5488
5492
  }
5489
- PyObject * _wrap__api_api_WrapInt(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5493
+ PyObject * _wrap__api_api_NewCompileError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5490
5494
 
5491
5495
 
5492
5496
  PyObject *
5493
- _wrap__api_api_WrapAny(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5497
+ _wrap__api_api_NewConfigError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5494
5498
  {
5495
5499
  PyObject *py_retval;
5496
5500
  int64_t retval;
5497
- char *value;
5498
- const char *keywords[] = {"value", NULL};
5501
+ char *message;
5502
+ char *wrapped;
5503
+ const char *keywords[] = {"message", "wrapped", NULL};
5499
5504
 
5500
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "s", (char **) keywords, &value)) {
5505
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "ss", (char **) keywords, &message, &wrapped)) {
5501
5506
  return NULL;
5502
5507
  }
5503
- retval = api_WrapAny(value);
5508
+ retval = api_NewConfigError(message, wrapped);
5504
5509
  if (PyErr_Occurred()) {
5505
5510
  return NULL;
5506
5511
  }
5507
5512
  py_retval = Py_BuildValue((char *) "L", retval);
5508
5513
  return py_retval;
5509
5514
  }
5510
- PyObject * _wrap__api_api_WrapAny(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5515
+ PyObject * _wrap__api_api_NewConfigError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5511
5516
 
5512
5517
 
5513
5518
  PyObject *
5514
- _wrap__api_api_WrapFloat(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5519
+ _wrap__api_api_NewClassDefinition(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
5515
5520
  {
5516
5521
  PyObject *py_retval;
5517
5522
  int64_t retval;
5518
- double value;
5519
- const char *keywords[] = {"value", NULL};
5520
5523
 
5521
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "d", (char **) keywords, &value)) {
5522
- return NULL;
5523
- }
5524
- retval = api_WrapFloat(value);
5524
+ retval = api_NewClassDefinition();
5525
5525
  if (PyErr_Occurred()) {
5526
5526
  return NULL;
5527
5527
  }
5528
5528
  py_retval = Py_BuildValue((char *) "L", retval);
5529
5529
  return py_retval;
5530
5530
  }
5531
- PyObject * _wrap__api_api_WrapFloat(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5531
+ PyObject * _wrap__api_api_NewClassDefinition(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
5532
5532
 
5533
5533
 
5534
5534
  PyObject *
@@ -5769,6 +5769,12 @@ 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_UnknownFunctionHandler_CTor", (PyCFunction) _wrap__api_api_UnknownFunctionHandler_CTor, METH_NOARGS, "api_UnknownFunctionHandler_CTor()\n\n" },
5773
+ {(char *) "api_ClassMethod_CTor", (PyCFunction) _wrap__api_api_ClassMethod_CTor, METH_NOARGS, "api_ClassMethod_CTor()\n\n" },
5774
+ {(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" },
5775
+ {(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 *" },
5776
+ {(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" },
5777
+ {(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" },
5772
5778
  {(char *) "api_SourceLocation_CTor", (PyCFunction) _wrap__api_api_SourceLocation_CTor, METH_NOARGS, "api_SourceLocation_CTor()\n\n" },
5773
5779
  {(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" },
5774
5780
  {(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 *" },
@@ -5776,6 +5782,24 @@ static PyMethodDef _api_functions[] = {
5776
5782
  {(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" },
5777
5783
  {(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" },
5778
5784
  {(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" },
5785
+ {(char *) "api_ExecutionResult_CTor", (PyCFunction) _wrap__api_api_ExecutionResult_CTor, METH_NOARGS, "api_ExecutionResult_CTor()\n\n" },
5786
+ {(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" },
5787
+ {(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" },
5788
+ {(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" },
5789
+ {(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" },
5790
+ {(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" },
5791
+ {(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 *" },
5792
+ {(char *) "api_GoValue_CTor", (PyCFunction) _wrap__api_api_GoValue_CTor, METH_NOARGS, "api_GoValue_CTor()\n\n" },
5793
+ {(char *) "api_GoValue_ID", (PyCFunction) _wrap__api_api_GoValue_ID, METH_KEYWORDS|METH_VARARGS, "api_GoValue_ID(_handle)\n\ntype: _handle: int64_t" },
5794
+ {(char *) "api_GoValue_MarshalJSON", (PyCFunction) _wrap__api_api_GoValue_MarshalJSON, METH_KEYWORDS|METH_VARARGS, "api_GoValue_MarshalJSON(_handle)\n\ntype: _handle: int64_t" },
5795
+ {(char *) "api_GoValue_Type", (PyCFunction) _wrap__api_api_GoValue_Type, METH_KEYWORDS|METH_VARARGS, "api_GoValue_Type(_handle)\n\ntype: _handle: int64_t" },
5796
+ {(char *) "api_GoValue_Int", (PyCFunction) _wrap__api_api_GoValue_Int, METH_KEYWORDS|METH_VARARGS, "api_GoValue_Int(_handle)\n\ntype: _handle: int64_t" },
5797
+ {(char *) "api_GoValue_Float", (PyCFunction) _wrap__api_api_GoValue_Float, METH_KEYWORDS|METH_VARARGS, "api_GoValue_Float(_handle)\n\ntype: _handle: int64_t" },
5798
+ {(char *) "api_GoValue_String", (PyCFunction) _wrap__api_api_GoValue_String, METH_KEYWORDS|METH_VARARGS, "api_GoValue_String(_handle)\n\ntype: _handle: int64_t" },
5799
+ {(char *) "api_GoValue_Bool", (PyCFunction) _wrap__api_api_GoValue_Bool, METH_KEYWORDS|METH_VARARGS, "api_GoValue_Bool(_handle)\n\ntype: _handle: int64_t" },
5800
+ {(char *) "api_GoValue_Slice", (PyCFunction) _wrap__api_api_GoValue_Slice, METH_KEYWORDS|METH_VARARGS, "api_GoValue_Slice(_handle)\n\ntype: _handle: int64_t" },
5801
+ {(char *) "api_GoValue_Map", (PyCFunction) _wrap__api_api_GoValue_Map, METH_KEYWORDS|METH_VARARGS, "api_GoValue_Map(_handle)\n\ntype: _handle: int64_t" },
5802
+ {(char *) "api_GoValue_Object", (PyCFunction) _wrap__api_api_GoValue_Object, METH_KEYWORDS|METH_VARARGS, "api_GoValue_Object(_handle)\n\ntype: _handle: int64_t" },
5779
5803
  {(char *) "api_VM_CTor", (PyCFunction) _wrap__api_api_VM_CTor, METH_NOARGS, "api_VM_CTor()\n\n" },
5780
5804
  {(char *) "api_VM_GetCompatibilityShim", (PyCFunction) _wrap__api_api_VM_GetCompatibilityShim, METH_KEYWORDS|METH_VARARGS, "api_VM_GetCompatibilityShim(_handle)\n\ntype: _handle: int64_t" },
5781
5805
  {(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 *" },
@@ -5840,11 +5864,6 @@ static PyMethodDef _api_functions[] = {
5840
5864
  {(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" },
5841
5865
  {(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" },
5842
5866
  {(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" },
5843
- {(char *) "api_ClassMethod_CTor", (PyCFunction) _wrap__api_api_ClassMethod_CTor, METH_NOARGS, "api_ClassMethod_CTor()\n\n" },
5844
- {(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" },
5845
- {(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 *" },
5846
- {(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" },
5847
- {(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" },
5848
5867
  {(char *) "api_ClassVariable_CTor", (PyCFunction) _wrap__api_api_ClassVariable_CTor, METH_NOARGS, "api_ClassVariable_CTor()\n\n" },
5849
5868
  {(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" },
5850
5869
  {(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 *" },
@@ -5852,40 +5871,21 @@ static PyMethodDef _api_functions[] = {
5852
5871
  {(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" },
5853
5872
  {(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" },
5854
5873
  {(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" },
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_GoValue_CTor", (PyCFunction) _wrap__api_api_GoValue_CTor, METH_NOARGS, "api_GoValue_CTor()\n\n" },
5863
- {(char *) "api_GoValue_ID", (PyCFunction) _wrap__api_api_GoValue_ID, METH_KEYWORDS|METH_VARARGS, "api_GoValue_ID(_handle)\n\ntype: _handle: int64_t" },
5864
- {(char *) "api_GoValue_MarshalJSON", (PyCFunction) _wrap__api_api_GoValue_MarshalJSON, METH_KEYWORDS|METH_VARARGS, "api_GoValue_MarshalJSON(_handle)\n\ntype: _handle: int64_t" },
5865
- {(char *) "api_GoValue_Type", (PyCFunction) _wrap__api_api_GoValue_Type, METH_KEYWORDS|METH_VARARGS, "api_GoValue_Type(_handle)\n\ntype: _handle: int64_t" },
5866
- {(char *) "api_GoValue_Int", (PyCFunction) _wrap__api_api_GoValue_Int, METH_KEYWORDS|METH_VARARGS, "api_GoValue_Int(_handle)\n\ntype: _handle: int64_t" },
5867
- {(char *) "api_GoValue_Float", (PyCFunction) _wrap__api_api_GoValue_Float, METH_KEYWORDS|METH_VARARGS, "api_GoValue_Float(_handle)\n\ntype: _handle: int64_t" },
5868
- {(char *) "api_GoValue_String", (PyCFunction) _wrap__api_api_GoValue_String, METH_KEYWORDS|METH_VARARGS, "api_GoValue_String(_handle)\n\ntype: _handle: int64_t" },
5869
- {(char *) "api_GoValue_Bool", (PyCFunction) _wrap__api_api_GoValue_Bool, METH_KEYWORDS|METH_VARARGS, "api_GoValue_Bool(_handle)\n\ntype: _handle: int64_t" },
5870
- {(char *) "api_GoValue_Slice", (PyCFunction) _wrap__api_api_GoValue_Slice, METH_KEYWORDS|METH_VARARGS, "api_GoValue_Slice(_handle)\n\ntype: _handle: int64_t" },
5871
- {(char *) "api_GoValue_Map", (PyCFunction) _wrap__api_api_GoValue_Map, METH_KEYWORDS|METH_VARARGS, "api_GoValue_Map(_handle)\n\ntype: _handle: int64_t" },
5872
- {(char *) "api_GoValue_Object", (PyCFunction) _wrap__api_api_GoValue_Object, METH_KEYWORDS|METH_VARARGS, "api_GoValue_Object(_handle)\n\ntype: _handle: int64_t" },
5873
- {(char *) "api_UnknownFunctionHandler_CTor", (PyCFunction) _wrap__api_api_UnknownFunctionHandler_CTor, METH_NOARGS, "api_UnknownFunctionHandler_CTor()\n\n" },
5874
+ {(char *) "api_WrapBool", (PyCFunction) _wrap__api_api_WrapBool, METH_KEYWORDS|METH_VARARGS, "api_WrapBool(value)\n\ntype: value: bool" },
5875
+ {(char *) "api_WrapObject", (PyCFunction) _wrap__api_api_WrapObject, METH_KEYWORDS|METH_VARARGS, "api_WrapObject(value)\n\ntype: value: int64_t" },
5876
+ {(char *) "api_WrapAny", (PyCFunction) _wrap__api_api_WrapAny, METH_KEYWORDS|METH_VARARGS, "api_WrapAny(value)\n\ntype: value: char *" },
5877
+ {(char *) "api_WrapInt", (PyCFunction) _wrap__api_api_WrapInt, METH_KEYWORDS|METH_VARARGS, "api_WrapInt(value)\n\ntype: value: int64_t" },
5878
+ {(char *) "api_ToGoValue", (PyCFunction) _wrap__api_api_ToGoValue, METH_KEYWORDS|METH_VARARGS, "api_ToGoValue(val)\n\ntype: val: int64_t" },
5879
+ {(char *) "api_WrapFloat", (PyCFunction) _wrap__api_api_WrapFloat, METH_KEYWORDS|METH_VARARGS, "api_WrapFloat(value)\n\ntype: value: double" },
5880
+ {(char *) "api_WrapString", (PyCFunction) _wrap__api_api_WrapString, METH_KEYWORDS|METH_VARARGS, "api_WrapString(value)\n\ntype: value: char *" },
5874
5881
  {(char *) "api_NewVM", (PyCFunction) _wrap__api_api_NewVM, METH_KEYWORDS|METH_VARARGS, "api_NewVM(config)\n\ntype: config: int64_t" },
5875
5882
  {(char *) "api_DefaultConfig", (PyCFunction) _wrap__api_api_DefaultConfig, METH_NOARGS, "api_DefaultConfig()\n\n" },
5876
- {(char *) "api_NewCompileError", (PyCFunction) _wrap__api_api_NewCompileError, METH_KEYWORDS|METH_VARARGS, "api_NewCompileError(message, source)\n\ntype: message: char *\ntype: source: int64_t" },
5883
+ {(char *) "api_NewRuntimeError", (PyCFunction) _wrap__api_api_NewRuntimeError, METH_KEYWORDS|METH_VARARGS, "api_NewRuntimeError(message, source)\n\ntype: message: char *\ntype: source: int64_t" },
5877
5884
  {(char *) "api_NewTimeoutError", (PyCFunction) _wrap__api_api_NewTimeoutError, METH_KEYWORDS|METH_VARARGS, "api_NewTimeoutError(duration)\n\ntype: duration: int64_t" },
5878
- {(char *) "api_NewConfigError", (PyCFunction) _wrap__api_api_NewConfigError, METH_KEYWORDS|METH_VARARGS, "api_NewConfigError(message, wrapped)\n\ntype: message: char *\ntype: wrapped: char *" },
5879
5885
  {(char *) "api_NewConversionError", (PyCFunction) _wrap__api_api_NewConversionError, METH_KEYWORDS|METH_VARARGS, "api_NewConversionError(message, wrapped)\n\ntype: message: char *\ntype: wrapped: char *" },
5880
- {(char *) "api_NewRuntimeError", (PyCFunction) _wrap__api_api_NewRuntimeError, METH_KEYWORDS|METH_VARARGS, "api_NewRuntimeError(message, source)\n\ntype: message: char *\ntype: source: int64_t" },
5886
+ {(char *) "api_NewCompileError", (PyCFunction) _wrap__api_api_NewCompileError, METH_KEYWORDS|METH_VARARGS, "api_NewCompileError(message, source)\n\ntype: message: char *\ntype: source: int64_t" },
5887
+ {(char *) "api_NewConfigError", (PyCFunction) _wrap__api_api_NewConfigError, METH_KEYWORDS|METH_VARARGS, "api_NewConfigError(message, wrapped)\n\ntype: message: char *\ntype: wrapped: char *" },
5881
5888
  {(char *) "api_NewClassDefinition", (PyCFunction) _wrap__api_api_NewClassDefinition, METH_NOARGS, "api_NewClassDefinition()\n\n" },
5882
- {(char *) "api_ToGoValue", (PyCFunction) _wrap__api_api_ToGoValue, METH_KEYWORDS|METH_VARARGS, "api_ToGoValue(val)\n\ntype: val: int64_t" },
5883
- {(char *) "api_WrapObject", (PyCFunction) _wrap__api_api_WrapObject, METH_KEYWORDS|METH_VARARGS, "api_WrapObject(value)\n\ntype: value: int64_t" },
5884
- {(char *) "api_WrapBool", (PyCFunction) _wrap__api_api_WrapBool, METH_KEYWORDS|METH_VARARGS, "api_WrapBool(value)\n\ntype: value: bool" },
5885
- {(char *) "api_WrapString", (PyCFunction) _wrap__api_api_WrapString, METH_KEYWORDS|METH_VARARGS, "api_WrapString(value)\n\ntype: value: char *" },
5886
- {(char *) "api_WrapInt", (PyCFunction) _wrap__api_api_WrapInt, METH_KEYWORDS|METH_VARARGS, "api_WrapInt(value)\n\ntype: value: int64_t" },
5887
- {(char *) "api_WrapAny", (PyCFunction) _wrap__api_api_WrapAny, METH_KEYWORDS|METH_VARARGS, "api_WrapAny(value)\n\ntype: value: char *" },
5888
- {(char *) "api_WrapFloat", (PyCFunction) _wrap__api_api_WrapFloat, METH_KEYWORDS|METH_VARARGS, "api_WrapFloat(value)\n\ntype: value: double" },
5889
5889
  {(char *) "api_LookupObject", (PyCFunction) _wrap__api_api_LookupObject, METH_KEYWORDS|METH_VARARGS, "api_LookupObject(id)\n\ntype: id: char *" },
5890
5890
  {(char *) "api_ConvertArguments", (PyCFunction) _wrap__api_api_ConvertArguments, METH_KEYWORDS|METH_VARARGS, "api_ConvertArguments(args)\n\ntype: args: int64_t" },
5891
5891
  {(char *) "api_FromGoValue", (PyCFunction) _wrap__api_api_FromGoValue, METH_KEYWORDS|METH_VARARGS, "api_FromGoValue(val)\n\ntype: val: int64_t" },