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