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