objective-lol 0.0.1__cp312-cp312-macosx_11_0_arm64.whl → 0.0.2__cp312-cp312-macosx_11_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
objective_lol/api.c CHANGED
@@ -3645,127 +3645,232 @@ PyObject * _wrap__api_api_ClassVariable_Locked_Set(PyObject * PYBINDGEN_UNUSED(d
3645
3645
 
3646
3646
 
3647
3647
  PyObject *
3648
- _wrap__api_api_ExecutionResult_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
3648
+ _wrap__api_api_GoValue_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
3649
3649
  {
3650
3650
  PyObject *py_retval;
3651
3651
  int64_t retval;
3652
3652
 
3653
- retval = api_ExecutionResult_CTor();
3653
+ retval = api_GoValue_CTor();
3654
3654
  py_retval = Py_BuildValue((char *) "L", retval);
3655
3655
  return py_retval;
3656
3656
  }
3657
- PyObject * _wrap__api_api_ExecutionResult_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
3657
+ PyObject * _wrap__api_api_GoValue_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
3658
3658
 
3659
3659
 
3660
3660
  PyObject *
3661
- _wrap__api_api_ExecutionResult_Value_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3661
+ _wrap__api_api_GoValue_ID(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3662
+ {
3663
+ PyObject *py_retval;
3664
+ char *retval;
3665
+ int64_t _handle;
3666
+ const char *keywords[] = {"_handle", NULL};
3667
+
3668
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3669
+ return NULL;
3670
+ }
3671
+ retval = api_GoValue_ID(_handle);
3672
+ if (PyErr_Occurred()) {
3673
+ if (retval != NULL) free(retval);
3674
+ return NULL;
3675
+ }
3676
+ py_retval = Py_BuildValue((char *) "s", retval);
3677
+ free(retval);
3678
+ return py_retval;
3679
+ }
3680
+ PyObject * _wrap__api_api_GoValue_ID(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3681
+
3682
+
3683
+ PyObject *
3684
+ _wrap__api_api_GoValue_MarshalJSON(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3662
3685
  {
3663
3686
  PyObject *py_retval;
3664
3687
  int64_t retval;
3665
- int64_t handle;
3666
- const char *keywords[] = {"handle", NULL};
3688
+ int64_t _handle;
3689
+ const char *keywords[] = {"_handle", NULL};
3667
3690
 
3668
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
3691
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3692
+ return NULL;
3693
+ }
3694
+ retval = api_GoValue_MarshalJSON(_handle);
3695
+ if (PyErr_Occurred()) {
3669
3696
  return NULL;
3670
3697
  }
3671
- retval = api_ExecutionResult_Value_Get(handle);
3672
3698
  py_retval = Py_BuildValue((char *) "L", retval);
3673
3699
  return py_retval;
3674
3700
  }
3675
- PyObject * _wrap__api_api_ExecutionResult_Value_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3701
+ PyObject * _wrap__api_api_GoValue_MarshalJSON(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3676
3702
 
3677
3703
 
3678
3704
  PyObject *
3679
- _wrap__api_api_ExecutionResult_Value_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3705
+ _wrap__api_api_GoValue_Type(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3680
3706
  {
3681
3707
  PyObject *py_retval;
3682
- int64_t handle;
3683
- int64_t val;
3684
- const char *keywords[] = {"handle", "val", NULL};
3708
+ char *retval;
3709
+ int64_t _handle;
3710
+ const char *keywords[] = {"_handle", NULL};
3685
3711
 
3686
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
3712
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3687
3713
  return NULL;
3688
3714
  }
3689
- api_ExecutionResult_Value_Set(handle, val);
3690
- Py_INCREF(Py_None);
3691
- py_retval = Py_None;
3715
+ retval = api_GoValue_Type(_handle);
3716
+ if (PyErr_Occurred()) {
3717
+ if (retval != NULL) free(retval);
3718
+ return NULL;
3719
+ }
3720
+ py_retval = Py_BuildValue((char *) "s", retval);
3721
+ free(retval);
3692
3722
  return py_retval;
3693
3723
  }
3694
- PyObject * _wrap__api_api_ExecutionResult_Value_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3724
+ PyObject * _wrap__api_api_GoValue_Type(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3695
3725
 
3696
3726
 
3697
3727
  PyObject *
3698
- _wrap__api_api_ExecutionResult_RawValue_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3728
+ _wrap__api_api_GoValue_Int(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3699
3729
  {
3700
3730
  PyObject *py_retval;
3701
3731
  int64_t retval;
3702
- int64_t handle;
3703
- const char *keywords[] = {"handle", NULL};
3732
+ int64_t _handle;
3733
+ const char *keywords[] = {"_handle", NULL};
3704
3734
 
3705
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
3735
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3736
+ return NULL;
3737
+ }
3738
+ retval = api_GoValue_Int(_handle);
3739
+ if (PyErr_Occurred()) {
3706
3740
  return NULL;
3707
3741
  }
3708
- retval = api_ExecutionResult_RawValue_Get(handle);
3709
3742
  py_retval = Py_BuildValue((char *) "L", retval);
3710
3743
  return py_retval;
3711
3744
  }
3712
- PyObject * _wrap__api_api_ExecutionResult_RawValue_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3745
+ PyObject * _wrap__api_api_GoValue_Int(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3713
3746
 
3714
3747
 
3715
3748
  PyObject *
3716
- _wrap__api_api_ExecutionResult_RawValue_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3749
+ _wrap__api_api_GoValue_Float(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3717
3750
  {
3718
3751
  PyObject *py_retval;
3719
- int64_t handle;
3720
- int64_t val;
3721
- const char *keywords[] = {"handle", "val", NULL};
3752
+ double retval;
3753
+ int64_t _handle;
3754
+ const char *keywords[] = {"_handle", NULL};
3722
3755
 
3723
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
3756
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3724
3757
  return NULL;
3725
3758
  }
3726
- api_ExecutionResult_RawValue_Set(handle, val);
3727
- Py_INCREF(Py_None);
3728
- py_retval = Py_None;
3759
+ retval = api_GoValue_Float(_handle);
3760
+ if (PyErr_Occurred()) {
3761
+ return NULL;
3762
+ }
3763
+ py_retval = Py_BuildValue((char *) "d", retval);
3729
3764
  return py_retval;
3730
3765
  }
3731
- PyObject * _wrap__api_api_ExecutionResult_RawValue_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3766
+ PyObject * _wrap__api_api_GoValue_Float(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3732
3767
 
3733
3768
 
3734
3769
  PyObject *
3735
- _wrap__api_api_ExecutionResult_Output_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3770
+ _wrap__api_api_GoValue_String(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3736
3771
  {
3737
3772
  PyObject *py_retval;
3738
3773
  char *retval;
3739
- int64_t handle;
3740
- const char *keywords[] = {"handle", NULL};
3774
+ int64_t _handle;
3775
+ const char *keywords[] = {"_handle", NULL};
3741
3776
 
3742
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
3777
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3778
+ return NULL;
3779
+ }
3780
+ retval = api_GoValue_String(_handle);
3781
+ if (PyErr_Occurred()) {
3782
+ if (retval != NULL) free(retval);
3743
3783
  return NULL;
3744
3784
  }
3745
- retval = api_ExecutionResult_Output_Get(handle);
3746
3785
  py_retval = Py_BuildValue((char *) "s", retval);
3786
+ free(retval);
3747
3787
  return py_retval;
3748
3788
  }
3749
- PyObject * _wrap__api_api_ExecutionResult_Output_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3789
+ PyObject * _wrap__api_api_GoValue_String(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3750
3790
 
3751
3791
 
3752
3792
  PyObject *
3753
- _wrap__api_api_ExecutionResult_Output_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3793
+ _wrap__api_api_GoValue_Bool(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3754
3794
  {
3755
3795
  PyObject *py_retval;
3756
- int64_t handle;
3757
- char *val;
3758
- const char *keywords[] = {"handle", "val", NULL};
3796
+ bool retval;
3797
+ int64_t _handle;
3798
+ const char *keywords[] = {"_handle", NULL};
3759
3799
 
3760
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
3800
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3761
3801
  return NULL;
3762
3802
  }
3763
- api_ExecutionResult_Output_Set(handle, val);
3764
- Py_INCREF(Py_None);
3765
- py_retval = Py_None;
3803
+ retval = api_GoValue_Bool(_handle);
3804
+ if (PyErr_Occurred()) {
3805
+ return NULL;
3806
+ }
3807
+ py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
3766
3808
  return py_retval;
3767
3809
  }
3768
- PyObject * _wrap__api_api_ExecutionResult_Output_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3810
+ PyObject * _wrap__api_api_GoValue_Bool(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3811
+
3812
+
3813
+ PyObject *
3814
+ _wrap__api_api_GoValue_Slice(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3815
+ {
3816
+ PyObject *py_retval;
3817
+ int64_t retval;
3818
+ int64_t _handle;
3819
+ const char *keywords[] = {"_handle", NULL};
3820
+
3821
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3822
+ return NULL;
3823
+ }
3824
+ retval = api_GoValue_Slice(_handle);
3825
+ if (PyErr_Occurred()) {
3826
+ return NULL;
3827
+ }
3828
+ py_retval = Py_BuildValue((char *) "L", retval);
3829
+ return py_retval;
3830
+ }
3831
+ PyObject * _wrap__api_api_GoValue_Slice(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3832
+
3833
+
3834
+ PyObject *
3835
+ _wrap__api_api_GoValue_Map(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3836
+ {
3837
+ PyObject *py_retval;
3838
+ int64_t retval;
3839
+ int64_t _handle;
3840
+ const char *keywords[] = {"_handle", NULL};
3841
+
3842
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3843
+ return NULL;
3844
+ }
3845
+ retval = api_GoValue_Map(_handle);
3846
+ if (PyErr_Occurred()) {
3847
+ return NULL;
3848
+ }
3849
+ py_retval = Py_BuildValue((char *) "L", retval);
3850
+ return py_retval;
3851
+ }
3852
+ PyObject * _wrap__api_api_GoValue_Map(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3853
+
3854
+
3855
+ PyObject *
3856
+ _wrap__api_api_GoValue_Object(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3857
+ {
3858
+ PyObject *py_retval;
3859
+ int64_t retval;
3860
+ int64_t _handle;
3861
+ const char *keywords[] = {"_handle", NULL};
3862
+
3863
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3864
+ return NULL;
3865
+ }
3866
+ retval = api_GoValue_Object(_handle);
3867
+ if (PyErr_Occurred()) {
3868
+ return NULL;
3869
+ }
3870
+ py_retval = Py_BuildValue((char *) "L", retval);
3871
+ return py_retval;
3872
+ }
3873
+ PyObject * _wrap__api_api_GoValue_Object(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3769
3874
 
3770
3875
 
3771
3876
  PyObject *
@@ -3893,1203 +3998,1007 @@ PyObject * _wrap__api_api_SourceLocation_Column_Set(PyObject * PYBINDGEN_UNUSED(
3893
3998
 
3894
3999
 
3895
4000
  PyObject *
3896
- _wrap__api_api_VMError_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4001
+ _wrap__api_api_VM_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
3897
4002
  {
3898
4003
  PyObject *py_retval;
3899
4004
  int64_t retval;
3900
4005
 
3901
- retval = api_VMError_CTor();
4006
+ retval = api_VM_CTor();
3902
4007
  py_retval = Py_BuildValue((char *) "L", retval);
3903
4008
  return py_retval;
3904
4009
  }
3905
- PyObject * _wrap__api_api_VMError_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4010
+ PyObject * _wrap__api_api_VM_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
3906
4011
 
3907
4012
 
3908
4013
  PyObject *
3909
- _wrap__api_api_VMError_Type_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4014
+ _wrap__api_api_VM_GetCompatibilityShim(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3910
4015
  {
3911
4016
  PyObject *py_retval;
3912
- char *retval;
3913
- int64_t handle;
3914
- const char *keywords[] = {"handle", NULL};
4017
+ int64_t retval;
4018
+ int64_t _handle;
4019
+ const char *keywords[] = {"_handle", NULL};
3915
4020
 
3916
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4021
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
3917
4022
  return NULL;
3918
4023
  }
3919
- retval = api_VMError_Type_Get(handle);
3920
- py_retval = Py_BuildValue((char *) "s", retval);
4024
+ retval = api_VM_GetCompatibilityShim(_handle);
4025
+ if (PyErr_Occurred()) {
4026
+ return NULL;
4027
+ }
4028
+ py_retval = Py_BuildValue((char *) "L", retval);
3921
4029
  return py_retval;
3922
4030
  }
3923
- PyObject * _wrap__api_api_VMError_Type_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4031
+ PyObject * _wrap__api_api_VM_GetCompatibilityShim(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3924
4032
 
3925
4033
 
3926
4034
  PyObject *
3927
- _wrap__api_api_VMError_Type_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4035
+ _wrap__api_api_VM_Execute(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3928
4036
  {
3929
4037
  PyObject *py_retval;
3930
- int64_t handle;
3931
- char *val;
3932
- const char *keywords[] = {"handle", "val", NULL};
4038
+ int64_t retval;
4039
+ int64_t _handle;
4040
+ char *code;
4041
+ const char *keywords[] = {"_handle", "code", NULL};
3933
4042
 
3934
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
4043
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &code)) {
3935
4044
  return NULL;
3936
4045
  }
3937
- api_VMError_Type_Set(handle, val);
3938
- Py_INCREF(Py_None);
3939
- py_retval = Py_None;
4046
+ retval = api_VM_Execute(_handle, code);
4047
+ if (PyErr_Occurred()) {
4048
+ return NULL;
4049
+ }
4050
+ py_retval = Py_BuildValue((char *) "L", retval);
3940
4051
  return py_retval;
3941
4052
  }
3942
- PyObject * _wrap__api_api_VMError_Type_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4053
+ PyObject * _wrap__api_api_VM_Execute(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3943
4054
 
3944
4055
 
3945
4056
  PyObject *
3946
- _wrap__api_api_VMError_Message_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4057
+ _wrap__api_api_VM_ExecuteWithContext(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3947
4058
  {
3948
4059
  PyObject *py_retval;
3949
- char *retval;
3950
- int64_t handle;
3951
- const char *keywords[] = {"handle", NULL};
3952
-
3953
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
3954
- return NULL;
3955
- }
3956
- retval = api_VMError_Message_Get(handle);
3957
- py_retval = Py_BuildValue((char *) "s", retval);
3958
- return py_retval;
3959
- }
3960
- PyObject * _wrap__api_api_VMError_Message_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3961
-
3962
-
3963
- PyObject *
3964
- _wrap__api_api_VMError_Message_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3965
- {
3966
- PyObject *py_retval;
3967
- int64_t handle;
3968
- char *val;
3969
- const char *keywords[] = {"handle", "val", NULL};
4060
+ int64_t retval;
4061
+ int64_t _handle;
4062
+ int64_t ctx;
4063
+ char *code;
4064
+ const char *keywords[] = {"_handle", "ctx", "code", NULL};
3970
4065
 
3971
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
4066
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLs", (char **) keywords, &_handle, &ctx, &code)) {
3972
4067
  return NULL;
3973
4068
  }
3974
- api_VMError_Message_Set(handle, val);
3975
- Py_INCREF(Py_None);
3976
- py_retval = Py_None;
4069
+ retval = api_VM_ExecuteWithContext(_handle, ctx, code);
4070
+ if (PyErr_Occurred()) {
4071
+ return NULL;
4072
+ }
4073
+ py_retval = Py_BuildValue((char *) "L", retval);
3977
4074
  return py_retval;
3978
4075
  }
3979
- PyObject * _wrap__api_api_VMError_Message_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4076
+ PyObject * _wrap__api_api_VM_ExecuteWithContext(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3980
4077
 
3981
4078
 
3982
4079
  PyObject *
3983
- _wrap__api_api_VMError_Source_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4080
+ _wrap__api_api_VM_NewObjectInstance(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
3984
4081
  {
3985
4082
  PyObject *py_retval;
3986
4083
  int64_t retval;
3987
- int64_t handle;
3988
- const char *keywords[] = {"handle", NULL};
4084
+ int64_t _handle;
4085
+ char *className;
4086
+ const char *keywords[] = {"_handle", "className", NULL};
3989
4087
 
3990
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4088
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &className)) {
4089
+ return NULL;
4090
+ }
4091
+ retval = api_VM_NewObjectInstance(_handle, className);
4092
+ if (PyErr_Occurred()) {
3991
4093
  return NULL;
3992
4094
  }
3993
- retval = api_VMError_Source_Get(handle);
3994
4095
  py_retval = Py_BuildValue((char *) "L", retval);
3995
4096
  return py_retval;
3996
4097
  }
3997
- PyObject * _wrap__api_api_VMError_Source_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4098
+ PyObject * _wrap__api_api_VM_NewObjectInstance(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
3998
4099
 
3999
4100
 
4000
4101
  PyObject *
4001
- _wrap__api_api_VMError_Source_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4102
+ _wrap__api_api_VM_Call(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4002
4103
  {
4003
4104
  PyObject *py_retval;
4004
- int64_t handle;
4005
- int64_t val;
4006
- const char *keywords[] = {"handle", "val", NULL};
4105
+ int64_t retval;
4106
+ int64_t _handle;
4107
+ char *functionName;
4108
+ int64_t args2;
4109
+ const char *keywords[] = {"_handle", "functionName", "args", NULL};
4007
4110
 
4008
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4111
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsL", (char **) keywords, &_handle, &functionName, &args2)) {
4009
4112
  return NULL;
4010
4113
  }
4011
- api_VMError_Source_Set(handle, val);
4012
- Py_INCREF(Py_None);
4013
- py_retval = Py_None;
4114
+ retval = api_VM_Call(_handle, functionName, args2);
4115
+ if (PyErr_Occurred()) {
4116
+ return NULL;
4117
+ }
4118
+ py_retval = Py_BuildValue((char *) "L", retval);
4014
4119
  return py_retval;
4015
4120
  }
4016
- PyObject * _wrap__api_api_VMError_Source_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4121
+ PyObject * _wrap__api_api_VM_Call(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4017
4122
 
4018
4123
 
4019
4124
  PyObject *
4020
- _wrap__api_api_VMError_Duration_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4125
+ _wrap__api_api_VM_CallMethod(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4021
4126
  {
4022
4127
  PyObject *py_retval;
4023
4128
  int64_t retval;
4024
- int64_t handle;
4025
- const char *keywords[] = {"handle", NULL};
4129
+ int64_t _handle;
4130
+ int64_t object;
4131
+ char *methodName;
4132
+ int64_t args2;
4133
+ const char *keywords[] = {"_handle", "object", "methodName", "args", NULL};
4026
4134
 
4027
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4135
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLsL", (char **) keywords, &_handle, &object, &methodName, &args2)) {
4136
+ return NULL;
4137
+ }
4138
+ retval = api_VM_CallMethod(_handle, object, methodName, args2);
4139
+ if (PyErr_Occurred()) {
4028
4140
  return NULL;
4029
4141
  }
4030
- retval = api_VMError_Duration_Get(handle);
4031
4142
  py_retval = Py_BuildValue((char *) "L", retval);
4032
4143
  return py_retval;
4033
4144
  }
4034
- PyObject * _wrap__api_api_VMError_Duration_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4145
+ PyObject * _wrap__api_api_VM_CallMethod(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4035
4146
 
4036
4147
 
4037
4148
  PyObject *
4038
- _wrap__api_api_VMError_Duration_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4149
+ _wrap__api_api_VM_DefineVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4039
4150
  {
4040
4151
  PyObject *py_retval;
4041
- int64_t handle;
4042
- int64_t val;
4043
- const char *keywords[] = {"handle", "val", NULL};
4152
+ char *retval;
4153
+ int64_t _handle;
4154
+ char *name;
4155
+ int64_t value;
4156
+ bool constant;
4157
+ PyObject *py_constant;
4158
+ const char *keywords[] = {"_handle", "name", "value", "constant", NULL};
4044
4159
 
4045
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4160
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsLO", (char **) keywords, &_handle, &name, &value, &py_constant)) {
4046
4161
  return NULL;
4047
4162
  }
4048
- api_VMError_Duration_Set(handle, val);
4049
- Py_INCREF(Py_None);
4050
- py_retval = Py_None;
4163
+ constant = (bool) PyObject_IsTrue(py_constant);
4164
+ retval = api_VM_DefineVariable(_handle, name, value, constant);
4165
+ if (PyErr_Occurred()) {
4166
+ return NULL;
4167
+ }
4168
+ py_retval = Py_BuildValue((char *) "s", retval);
4051
4169
  return py_retval;
4052
4170
  }
4053
- PyObject * _wrap__api_api_VMError_Duration_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4171
+ PyObject * _wrap__api_api_VM_DefineVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4054
4172
 
4055
4173
 
4056
4174
  PyObject *
4057
- _wrap__api_api_VMError_Error(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4175
+ _wrap__api_api_VM_SetVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4058
4176
  {
4059
4177
  PyObject *py_retval;
4060
4178
  char *retval;
4061
4179
  int64_t _handle;
4062
- const char *keywords[] = {"_handle", NULL};
4180
+ char *variableName;
4181
+ int64_t value;
4182
+ const char *keywords[] = {"_handle", "variableName", "value", NULL};
4063
4183
 
4064
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4184
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsL", (char **) keywords, &_handle, &variableName, &value)) {
4065
4185
  return NULL;
4066
4186
  }
4067
- retval = api_VMError_Error(_handle);
4187
+ retval = api_VM_SetVariable(_handle, variableName, value);
4068
4188
  if (PyErr_Occurred()) {
4069
- if (retval != NULL) free(retval);
4070
4189
  return NULL;
4071
4190
  }
4072
4191
  py_retval = Py_BuildValue((char *) "s", retval);
4073
- free(retval);
4074
4192
  return py_retval;
4075
4193
  }
4076
- PyObject * _wrap__api_api_VMError_Error(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4194
+ PyObject * _wrap__api_api_VM_SetVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4077
4195
 
4078
4196
 
4079
4197
  PyObject *
4080
- _wrap__api_api_VMError_Unwrap(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4198
+ _wrap__api_api_VM_GetVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4081
4199
  {
4082
4200
  PyObject *py_retval;
4083
- char *retval;
4201
+ int64_t retval;
4084
4202
  int64_t _handle;
4085
- const char *keywords[] = {"_handle", NULL};
4203
+ char *variableName;
4204
+ const char *keywords[] = {"_handle", "variableName", NULL};
4086
4205
 
4087
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4206
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &variableName)) {
4088
4207
  return NULL;
4089
4208
  }
4090
- retval = api_VMError_Unwrap(_handle);
4209
+ retval = api_VM_GetVariable(_handle, variableName);
4091
4210
  if (PyErr_Occurred()) {
4092
4211
  return NULL;
4093
4212
  }
4094
- py_retval = Py_BuildValue((char *) "s", retval);
4213
+ py_retval = Py_BuildValue((char *) "L", retval);
4095
4214
  return py_retval;
4096
4215
  }
4097
- PyObject * _wrap__api_api_VMError_Unwrap(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4216
+ PyObject * _wrap__api_api_VM_GetVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4098
4217
 
4099
4218
 
4100
4219
  PyObject *
4101
- _wrap__api_api_VMError_IsCompileError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4220
+ _wrap__api_api_VM_DefineClass(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4102
4221
  {
4103
4222
  PyObject *py_retval;
4104
- bool retval;
4223
+ char *retval;
4105
4224
  int64_t _handle;
4106
- const char *keywords[] = {"_handle", NULL};
4225
+ int64_t classDef;
4226
+ const char *keywords[] = {"_handle", "classDef", NULL};
4107
4227
 
4108
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4228
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &_handle, &classDef)) {
4109
4229
  return NULL;
4110
4230
  }
4111
- retval = api_VMError_IsCompileError(_handle);
4231
+ retval = api_VM_DefineClass(_handle, classDef);
4112
4232
  if (PyErr_Occurred()) {
4113
4233
  return NULL;
4114
4234
  }
4115
- py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4235
+ py_retval = Py_BuildValue((char *) "s", retval);
4116
4236
  return py_retval;
4117
4237
  }
4118
- PyObject * _wrap__api_api_VMError_IsCompileError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4238
+ PyObject * _wrap__api_api_VM_DefineClass(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4119
4239
 
4120
4240
 
4121
4241
  PyObject *
4122
- _wrap__api_api_VMError_IsRuntimeError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4242
+ _wrap__api_api_VMCompatibilityShim_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4123
4243
  {
4124
4244
  PyObject *py_retval;
4125
- bool retval;
4245
+ int64_t retval;
4246
+
4247
+ retval = api_VMCompatibilityShim_CTor();
4248
+ py_retval = Py_BuildValue((char *) "L", retval);
4249
+ return py_retval;
4250
+ }
4251
+ PyObject * _wrap__api_api_VMCompatibilityShim_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4252
+
4253
+
4254
+ PyObject *
4255
+ _wrap__api_api_VMCompatibilityShim_DefineFunction(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4256
+ {
4257
+ PyObject *py_retval;
4258
+ char *retval;
4126
4259
  int64_t _handle;
4127
- const char *keywords[] = {"_handle", NULL};
4260
+ char *id;
4261
+ char *name;
4262
+ int64_t argc;
4263
+ PyObject *function;
4264
+ const char *keywords[] = {"_handle", "id", "name", "argc", "function", NULL};
4128
4265
 
4129
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4266
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LssLO", (char **) keywords, &_handle, &id, &name, &argc, &function)) {
4130
4267
  return NULL;
4131
4268
  }
4132
- retval = api_VMError_IsRuntimeError(_handle);
4269
+ retval = api_VMCompatibilityShim_DefineFunction(_handle, id, name, argc, function);
4133
4270
  if (PyErr_Occurred()) {
4134
4271
  return NULL;
4135
4272
  }
4136
- py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4273
+ py_retval = Py_BuildValue((char *) "s", retval);
4137
4274
  return py_retval;
4138
4275
  }
4139
- PyObject * _wrap__api_api_VMError_IsRuntimeError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4276
+ PyObject * _wrap__api_api_VMCompatibilityShim_DefineFunction(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4140
4277
 
4141
4278
 
4142
4279
  PyObject *
4143
- _wrap__api_api_VMError_IsTimeoutError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4280
+ _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithGetter(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4144
4281
  {
4145
4282
  PyObject *py_retval;
4146
- bool retval;
4283
+ int64_t retval;
4147
4284
  int64_t _handle;
4148
- const char *keywords[] = {"_handle", NULL};
4285
+ int64_t variable;
4286
+ char *getterID;
4287
+ PyObject *getter;
4288
+ const char *keywords[] = {"_handle", "variable", "getterID", "getter", NULL};
4149
4289
 
4150
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4290
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLsO", (char **) keywords, &_handle, &variable, &getterID, &getter)) {
4151
4291
  return NULL;
4152
4292
  }
4153
- retval = api_VMError_IsTimeoutError(_handle);
4293
+ retval = api_VMCompatibilityShim_BuildNewClassVariableWithGetter(_handle, variable, getterID, getter);
4154
4294
  if (PyErr_Occurred()) {
4155
4295
  return NULL;
4156
4296
  }
4157
- py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4297
+ py_retval = Py_BuildValue((char *) "L", retval);
4158
4298
  return py_retval;
4159
4299
  }
4160
- PyObject * _wrap__api_api_VMError_IsTimeoutError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4300
+ PyObject * _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithGetter(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4161
4301
 
4162
4302
 
4163
4303
  PyObject *
4164
- _wrap__api_api_VMError_IsConversionError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4304
+ _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithSetter(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4165
4305
  {
4166
4306
  PyObject *py_retval;
4167
- bool retval;
4307
+ int64_t retval;
4168
4308
  int64_t _handle;
4169
- const char *keywords[] = {"_handle", NULL};
4309
+ int64_t variable;
4310
+ char *setterID;
4311
+ PyObject *setter;
4312
+ const char *keywords[] = {"_handle", "variable", "setterID", "setter", NULL};
4170
4313
 
4171
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4314
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLsO", (char **) keywords, &_handle, &variable, &setterID, &setter)) {
4172
4315
  return NULL;
4173
4316
  }
4174
- retval = api_VMError_IsConversionError(_handle);
4317
+ retval = api_VMCompatibilityShim_BuildNewClassVariableWithSetter(_handle, variable, setterID, setter);
4175
4318
  if (PyErr_Occurred()) {
4176
4319
  return NULL;
4177
4320
  }
4178
- py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4321
+ py_retval = Py_BuildValue((char *) "L", retval);
4179
4322
  return py_retval;
4180
4323
  }
4181
- PyObject * _wrap__api_api_VMError_IsConversionError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4324
+ PyObject * _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithSetter(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4182
4325
 
4183
4326
 
4184
4327
  PyObject *
4185
- _wrap__api_api_VMError_IsConfigError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4328
+ _wrap__api_api_VMCompatibilityShim_BuildNewClassMethod(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4186
4329
  {
4187
4330
  PyObject *py_retval;
4188
- bool retval;
4331
+ int64_t retval;
4189
4332
  int64_t _handle;
4190
- const char *keywords[] = {"_handle", NULL};
4333
+ int64_t method;
4334
+ char *id;
4335
+ PyObject *function;
4336
+ const char *keywords[] = {"_handle", "method", "id", "function", NULL};
4191
4337
 
4192
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4338
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLsO", (char **) keywords, &_handle, &method, &id, &function)) {
4193
4339
  return NULL;
4194
4340
  }
4195
- retval = api_VMError_IsConfigError(_handle);
4341
+ retval = api_VMCompatibilityShim_BuildNewClassMethod(_handle, method, id, function);
4196
4342
  if (PyErr_Occurred()) {
4197
4343
  return NULL;
4198
4344
  }
4199
- py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4345
+ py_retval = Py_BuildValue((char *) "L", retval);
4200
4346
  return py_retval;
4201
4347
  }
4202
- PyObject * _wrap__api_api_VMError_IsConfigError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4348
+ PyObject * _wrap__api_api_VMCompatibilityShim_BuildNewClassMethod(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4203
4349
 
4204
4350
 
4205
4351
  PyObject *
4206
- _wrap__api_api_ClassMethod_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4352
+ _wrap__api_api_VMCompatibilityShim_BuildNewUnknownFunctionHandler(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4207
4353
  {
4208
4354
  PyObject *py_retval;
4209
4355
  int64_t retval;
4356
+ int64_t _handle;
4357
+ char *id;
4358
+ PyObject *function;
4359
+ const char *keywords[] = {"_handle", "id", "function", NULL};
4210
4360
 
4211
- retval = api_ClassMethod_CTor();
4361
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsO", (char **) keywords, &_handle, &id, &function)) {
4362
+ return NULL;
4363
+ }
4364
+ retval = api_VMCompatibilityShim_BuildNewUnknownFunctionHandler(_handle, id, function);
4365
+ if (PyErr_Occurred()) {
4366
+ return NULL;
4367
+ }
4212
4368
  py_retval = Py_BuildValue((char *) "L", retval);
4213
4369
  return py_retval;
4214
4370
  }
4215
- PyObject * _wrap__api_api_ClassMethod_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4371
+ PyObject * _wrap__api_api_VMCompatibilityShim_BuildNewUnknownFunctionHandler(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4216
4372
 
4217
4373
 
4218
4374
  PyObject *
4219
- _wrap__api_api_ClassMethod_Name_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4375
+ _wrap__api_api_VMCompatibilityShim_IsClassDefined(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4220
4376
  {
4221
4377
  PyObject *py_retval;
4222
- char *retval;
4223
- int64_t handle;
4224
- const char *keywords[] = {"handle", NULL};
4378
+ bool retval;
4379
+ int64_t _handle;
4380
+ char *name;
4381
+ const char *keywords[] = {"_handle", "name", NULL};
4225
4382
 
4226
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4383
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &name)) {
4227
4384
  return NULL;
4228
4385
  }
4229
- retval = api_ClassMethod_Name_Get(handle);
4230
- py_retval = Py_BuildValue((char *) "s", retval);
4231
- return py_retval;
4232
- }
4233
- PyObject * _wrap__api_api_ClassMethod_Name_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4234
-
4235
-
4236
- PyObject *
4237
- _wrap__api_api_ClassMethod_Name_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4238
- {
4239
- PyObject *py_retval;
4240
- int64_t handle;
4241
- char *val;
4242
- const char *keywords[] = {"handle", "val", NULL};
4243
-
4244
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
4386
+ retval = api_VMCompatibilityShim_IsClassDefined(_handle, name);
4387
+ if (PyErr_Occurred()) {
4245
4388
  return NULL;
4246
4389
  }
4247
- api_ClassMethod_Name_Set(handle, val);
4248
- Py_INCREF(Py_None);
4249
- py_retval = Py_None;
4390
+ py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4250
4391
  return py_retval;
4251
4392
  }
4252
- PyObject * _wrap__api_api_ClassMethod_Name_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4393
+ PyObject * _wrap__api_api_VMCompatibilityShim_IsClassDefined(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4253
4394
 
4254
4395
 
4255
4396
  PyObject *
4256
- _wrap__api_api_ClassMethod_Argc_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4397
+ _wrap__api_api_VMCompatibilityShim_LookupObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4257
4398
  {
4258
4399
  PyObject *py_retval;
4259
4400
  int64_t retval;
4260
- int64_t handle;
4261
- const char *keywords[] = {"handle", NULL};
4401
+ int64_t _handle;
4402
+ char *id;
4403
+ const char *keywords[] = {"_handle", "id", NULL};
4262
4404
 
4263
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4405
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &id)) {
4264
4406
  return NULL;
4265
4407
  }
4266
- retval = api_ClassMethod_Argc_Get(handle);
4267
- py_retval = Py_BuildValue((char *) "L", retval);
4268
- return py_retval;
4269
- }
4270
- PyObject * _wrap__api_api_ClassMethod_Argc_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4271
-
4272
-
4273
- PyObject *
4274
- _wrap__api_api_ClassMethod_Argc_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4275
- {
4276
- PyObject *py_retval;
4277
- int64_t handle;
4278
- int64_t val;
4279
- const char *keywords[] = {"handle", "val", NULL};
4280
-
4281
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4408
+ retval = api_VMCompatibilityShim_LookupObject(_handle, id);
4409
+ if (PyErr_Occurred()) {
4282
4410
  return NULL;
4283
4411
  }
4284
- api_ClassMethod_Argc_Set(handle, val);
4285
- Py_INCREF(Py_None);
4286
- py_retval = Py_None;
4287
- return py_retval;
4288
- }
4289
- PyObject * _wrap__api_api_ClassMethod_Argc_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4290
-
4291
-
4292
- PyObject *
4293
- _wrap__api_api_GoValue_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4294
- {
4295
- PyObject *py_retval;
4296
- int64_t retval;
4297
-
4298
- retval = api_GoValue_CTor();
4299
4412
  py_retval = Py_BuildValue((char *) "L", retval);
4300
4413
  return py_retval;
4301
4414
  }
4302
- PyObject * _wrap__api_api_GoValue_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4415
+ PyObject * _wrap__api_api_VMCompatibilityShim_LookupObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4303
4416
 
4304
4417
 
4305
4418
  PyObject *
4306
- _wrap__api_api_GoValue_ID(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4419
+ _wrap__api_api_VMCompatibilityShim_GetObjectMRO(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4307
4420
  {
4308
4421
  PyObject *py_retval;
4309
- char *retval;
4422
+ int64_t retval;
4310
4423
  int64_t _handle;
4311
- const char *keywords[] = {"_handle", NULL};
4424
+ char *id;
4425
+ const char *keywords[] = {"_handle", "id", NULL};
4312
4426
 
4313
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4427
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &id)) {
4314
4428
  return NULL;
4315
4429
  }
4316
- retval = api_GoValue_ID(_handle);
4430
+ retval = api_VMCompatibilityShim_GetObjectMRO(_handle, id);
4317
4431
  if (PyErr_Occurred()) {
4318
- if (retval != NULL) free(retval);
4319
4432
  return NULL;
4320
4433
  }
4321
- py_retval = Py_BuildValue((char *) "s", retval);
4322
- free(retval);
4434
+ py_retval = Py_BuildValue((char *) "L", retval);
4323
4435
  return py_retval;
4324
4436
  }
4325
- PyObject * _wrap__api_api_GoValue_ID(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4437
+ PyObject * _wrap__api_api_VMCompatibilityShim_GetObjectMRO(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4326
4438
 
4327
4439
 
4328
4440
  PyObject *
4329
- _wrap__api_api_GoValue_MarshalJSON(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4441
+ _wrap__api_api_VMCompatibilityShim_GetObjectImmediateFunctions(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4330
4442
  {
4331
4443
  PyObject *py_retval;
4332
4444
  int64_t retval;
4333
4445
  int64_t _handle;
4334
- const char *keywords[] = {"_handle", NULL};
4446
+ char *id;
4447
+ const char *keywords[] = {"_handle", "id", NULL};
4335
4448
 
4336
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4449
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &id)) {
4337
4450
  return NULL;
4338
4451
  }
4339
- retval = api_GoValue_MarshalJSON(_handle);
4452
+ retval = api_VMCompatibilityShim_GetObjectImmediateFunctions(_handle, id);
4340
4453
  if (PyErr_Occurred()) {
4341
4454
  return NULL;
4342
4455
  }
4343
4456
  py_retval = Py_BuildValue((char *) "L", retval);
4344
4457
  return py_retval;
4345
4458
  }
4346
- PyObject * _wrap__api_api_GoValue_MarshalJSON(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4459
+ PyObject * _wrap__api_api_VMCompatibilityShim_GetObjectImmediateFunctions(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4347
4460
 
4348
4461
 
4349
4462
  PyObject *
4350
- _wrap__api_api_GoValue_Type(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4463
+ _wrap__api_api_VMCompatibilityShim_GetObjectImmediateVariables(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4351
4464
  {
4352
4465
  PyObject *py_retval;
4353
- char *retval;
4466
+ int64_t retval;
4354
4467
  int64_t _handle;
4355
- const char *keywords[] = {"_handle", NULL};
4468
+ char *id;
4469
+ const char *keywords[] = {"_handle", "id", NULL};
4356
4470
 
4357
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4471
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &id)) {
4358
4472
  return NULL;
4359
4473
  }
4360
- retval = api_GoValue_Type(_handle);
4474
+ retval = api_VMCompatibilityShim_GetObjectImmediateVariables(_handle, id);
4361
4475
  if (PyErr_Occurred()) {
4362
- if (retval != NULL) free(retval);
4363
4476
  return NULL;
4364
4477
  }
4365
- py_retval = Py_BuildValue((char *) "s", retval);
4366
- free(retval);
4478
+ py_retval = Py_BuildValue((char *) "L", retval);
4367
4479
  return py_retval;
4368
4480
  }
4369
- PyObject * _wrap__api_api_GoValue_Type(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4481
+ PyObject * _wrap__api_api_VMCompatibilityShim_GetObjectImmediateVariables(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4370
4482
 
4371
4483
 
4372
4484
  PyObject *
4373
- _wrap__api_api_GoValue_Int(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4485
+ _wrap__api_api_VMCompatibilityShim_AddVariableToObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4374
4486
  {
4375
4487
  PyObject *py_retval;
4376
- int64_t retval;
4488
+ char *retval;
4377
4489
  int64_t _handle;
4378
- const char *keywords[] = {"_handle", NULL};
4490
+ char *id;
4491
+ int64_t variable;
4492
+ const char *keywords[] = {"_handle", "id", "variable", NULL};
4379
4493
 
4380
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4494
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsL", (char **) keywords, &_handle, &id, &variable)) {
4381
4495
  return NULL;
4382
4496
  }
4383
- retval = api_GoValue_Int(_handle);
4497
+ retval = api_VMCompatibilityShim_AddVariableToObject(_handle, id, variable);
4384
4498
  if (PyErr_Occurred()) {
4385
4499
  return NULL;
4386
4500
  }
4387
- py_retval = Py_BuildValue((char *) "L", retval);
4501
+ py_retval = Py_BuildValue((char *) "s", retval);
4388
4502
  return py_retval;
4389
4503
  }
4390
- PyObject * _wrap__api_api_GoValue_Int(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4504
+ PyObject * _wrap__api_api_VMCompatibilityShim_AddVariableToObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4391
4505
 
4392
4506
 
4393
4507
  PyObject *
4394
- _wrap__api_api_GoValue_Float(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4508
+ _wrap__api_api_ClassMethod_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4395
4509
  {
4396
4510
  PyObject *py_retval;
4397
- double retval;
4398
- int64_t _handle;
4399
- const char *keywords[] = {"_handle", NULL};
4511
+ int64_t retval;
4400
4512
 
4401
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4402
- return NULL;
4403
- }
4404
- retval = api_GoValue_Float(_handle);
4405
- if (PyErr_Occurred()) {
4406
- return NULL;
4407
- }
4408
- py_retval = Py_BuildValue((char *) "d", retval);
4513
+ retval = api_ClassMethod_CTor();
4514
+ py_retval = Py_BuildValue((char *) "L", retval);
4409
4515
  return py_retval;
4410
4516
  }
4411
- PyObject * _wrap__api_api_GoValue_Float(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4517
+ PyObject * _wrap__api_api_ClassMethod_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4412
4518
 
4413
4519
 
4414
4520
  PyObject *
4415
- _wrap__api_api_GoValue_String(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4521
+ _wrap__api_api_ClassMethod_Name_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4416
4522
  {
4417
4523
  PyObject *py_retval;
4418
4524
  char *retval;
4419
- int64_t _handle;
4420
- const char *keywords[] = {"_handle", NULL};
4525
+ int64_t handle;
4526
+ const char *keywords[] = {"handle", NULL};
4421
4527
 
4422
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4423
- return NULL;
4424
- }
4425
- retval = api_GoValue_String(_handle);
4426
- if (PyErr_Occurred()) {
4427
- if (retval != NULL) free(retval);
4528
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4428
4529
  return NULL;
4429
4530
  }
4531
+ retval = api_ClassMethod_Name_Get(handle);
4430
4532
  py_retval = Py_BuildValue((char *) "s", retval);
4431
- free(retval);
4432
4533
  return py_retval;
4433
4534
  }
4434
- PyObject * _wrap__api_api_GoValue_String(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4535
+ PyObject * _wrap__api_api_ClassMethod_Name_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4435
4536
 
4436
4537
 
4437
4538
  PyObject *
4438
- _wrap__api_api_GoValue_Bool(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4539
+ _wrap__api_api_ClassMethod_Name_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4439
4540
  {
4440
4541
  PyObject *py_retval;
4441
- bool retval;
4442
- int64_t _handle;
4443
- const char *keywords[] = {"_handle", NULL};
4542
+ int64_t handle;
4543
+ char *val;
4544
+ const char *keywords[] = {"handle", "val", NULL};
4444
4545
 
4445
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4446
- return NULL;
4447
- }
4448
- retval = api_GoValue_Bool(_handle);
4449
- if (PyErr_Occurred()) {
4546
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
4450
4547
  return NULL;
4451
4548
  }
4452
- py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4549
+ api_ClassMethod_Name_Set(handle, val);
4550
+ Py_INCREF(Py_None);
4551
+ py_retval = Py_None;
4453
4552
  return py_retval;
4454
4553
  }
4455
- PyObject * _wrap__api_api_GoValue_Bool(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4554
+ PyObject * _wrap__api_api_ClassMethod_Name_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4456
4555
 
4457
4556
 
4458
4557
  PyObject *
4459
- _wrap__api_api_GoValue_Slice(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4558
+ _wrap__api_api_ClassMethod_Argc_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4460
4559
  {
4461
4560
  PyObject *py_retval;
4462
4561
  int64_t retval;
4463
- int64_t _handle;
4464
- const char *keywords[] = {"_handle", NULL};
4562
+ int64_t handle;
4563
+ const char *keywords[] = {"handle", NULL};
4465
4564
 
4466
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4467
- return NULL;
4468
- }
4469
- retval = api_GoValue_Slice(_handle);
4470
- if (PyErr_Occurred()) {
4565
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4471
4566
  return NULL;
4472
4567
  }
4568
+ retval = api_ClassMethod_Argc_Get(handle);
4473
4569
  py_retval = Py_BuildValue((char *) "L", retval);
4474
4570
  return py_retval;
4475
4571
  }
4476
- PyObject * _wrap__api_api_GoValue_Slice(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4572
+ PyObject * _wrap__api_api_ClassMethod_Argc_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4477
4573
 
4478
4574
 
4479
4575
  PyObject *
4480
- _wrap__api_api_GoValue_Map(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4576
+ _wrap__api_api_ClassMethod_Argc_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4481
4577
  {
4482
4578
  PyObject *py_retval;
4483
- int64_t retval;
4484
- int64_t _handle;
4485
- const char *keywords[] = {"_handle", NULL};
4579
+ int64_t handle;
4580
+ int64_t val;
4581
+ const char *keywords[] = {"handle", "val", NULL};
4486
4582
 
4487
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4488
- return NULL;
4489
- }
4490
- retval = api_GoValue_Map(_handle);
4491
- if (PyErr_Occurred()) {
4583
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4492
4584
  return NULL;
4493
4585
  }
4494
- py_retval = Py_BuildValue((char *) "L", retval);
4586
+ api_ClassMethod_Argc_Set(handle, val);
4587
+ Py_INCREF(Py_None);
4588
+ py_retval = Py_None;
4495
4589
  return py_retval;
4496
4590
  }
4497
- PyObject * _wrap__api_api_GoValue_Map(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4591
+ PyObject * _wrap__api_api_ClassMethod_Argc_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4498
4592
 
4499
4593
 
4500
4594
  PyObject *
4501
- _wrap__api_api_GoValue_Object(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4595
+ _wrap__api_api_ExecutionResult_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4502
4596
  {
4503
4597
  PyObject *py_retval;
4504
4598
  int64_t retval;
4505
- int64_t _handle;
4506
- const char *keywords[] = {"_handle", NULL};
4507
4599
 
4508
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4509
- return NULL;
4510
- }
4511
- retval = api_GoValue_Object(_handle);
4512
- if (PyErr_Occurred()) {
4513
- return NULL;
4514
- }
4600
+ retval = api_ExecutionResult_CTor();
4515
4601
  py_retval = Py_BuildValue((char *) "L", retval);
4516
4602
  return py_retval;
4517
4603
  }
4518
- PyObject * _wrap__api_api_GoValue_Object(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4604
+ PyObject * _wrap__api_api_ExecutionResult_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4519
4605
 
4520
4606
 
4521
4607
  PyObject *
4522
- _wrap__api_api_UnknownFunctionHandler_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4608
+ _wrap__api_api_ExecutionResult_Value_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4523
4609
  {
4524
4610
  PyObject *py_retval;
4525
4611
  int64_t retval;
4612
+ int64_t handle;
4613
+ const char *keywords[] = {"handle", NULL};
4526
4614
 
4527
- retval = api_UnknownFunctionHandler_CTor();
4615
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4616
+ return NULL;
4617
+ }
4618
+ retval = api_ExecutionResult_Value_Get(handle);
4528
4619
  py_retval = Py_BuildValue((char *) "L", retval);
4529
4620
  return py_retval;
4530
4621
  }
4531
- PyObject * _wrap__api_api_UnknownFunctionHandler_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4622
+ PyObject * _wrap__api_api_ExecutionResult_Value_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4532
4623
 
4533
4624
 
4534
4625
  PyObject *
4535
- _wrap__api_api_VM_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4626
+ _wrap__api_api_ExecutionResult_Value_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4536
4627
  {
4537
4628
  PyObject *py_retval;
4538
- int64_t retval;
4539
-
4540
- retval = api_VM_CTor();
4541
- py_retval = Py_BuildValue((char *) "L", retval);
4542
- return py_retval;
4543
- }
4544
- PyObject * _wrap__api_api_VM_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4545
-
4546
-
4547
- PyObject *
4548
- _wrap__api_api_VM_GetCompatibilityShim(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4549
- {
4550
- PyObject *py_retval;
4551
- int64_t retval;
4552
- int64_t _handle;
4553
- const char *keywords[] = {"_handle", NULL};
4554
-
4555
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4556
- return NULL;
4557
- }
4558
- retval = api_VM_GetCompatibilityShim(_handle);
4559
- if (PyErr_Occurred()) {
4560
- return NULL;
4561
- }
4562
- py_retval = Py_BuildValue((char *) "L", retval);
4563
- return py_retval;
4564
- }
4565
- PyObject * _wrap__api_api_VM_GetCompatibilityShim(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4566
-
4567
-
4568
- PyObject *
4569
- _wrap__api_api_VM_Execute(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4570
- {
4571
- PyObject *py_retval;
4572
- int64_t retval;
4573
- int64_t _handle;
4574
- char *code;
4575
- const char *keywords[] = {"_handle", "code", NULL};
4576
-
4577
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &code)) {
4578
- return NULL;
4579
- }
4580
- retval = api_VM_Execute(_handle, code);
4581
- if (PyErr_Occurred()) {
4582
- return NULL;
4583
- }
4584
- py_retval = Py_BuildValue((char *) "L", retval);
4585
- return py_retval;
4586
- }
4587
- PyObject * _wrap__api_api_VM_Execute(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4588
-
4589
-
4590
- PyObject *
4591
- _wrap__api_api_VM_ExecuteWithContext(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4592
- {
4593
- PyObject *py_retval;
4594
- int64_t retval;
4595
- int64_t _handle;
4596
- int64_t ctx;
4597
- char *code;
4598
- const char *keywords[] = {"_handle", "ctx", "code", NULL};
4599
-
4600
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLs", (char **) keywords, &_handle, &ctx, &code)) {
4601
- return NULL;
4602
- }
4603
- retval = api_VM_ExecuteWithContext(_handle, ctx, code);
4604
- if (PyErr_Occurred()) {
4605
- return NULL;
4606
- }
4607
- py_retval = Py_BuildValue((char *) "L", retval);
4608
- return py_retval;
4609
- }
4610
- PyObject * _wrap__api_api_VM_ExecuteWithContext(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4611
-
4612
-
4613
- PyObject *
4614
- _wrap__api_api_VM_NewObjectInstance(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4615
- {
4616
- PyObject *py_retval;
4617
- int64_t retval;
4618
- int64_t _handle;
4619
- char *className;
4620
- const char *keywords[] = {"_handle", "className", NULL};
4629
+ int64_t handle;
4630
+ int64_t val;
4631
+ const char *keywords[] = {"handle", "val", NULL};
4621
4632
 
4622
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &className)) {
4623
- return NULL;
4624
- }
4625
- retval = api_VM_NewObjectInstance(_handle, className);
4626
- if (PyErr_Occurred()) {
4633
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4627
4634
  return NULL;
4628
4635
  }
4629
- py_retval = Py_BuildValue((char *) "L", retval);
4636
+ api_ExecutionResult_Value_Set(handle, val);
4637
+ Py_INCREF(Py_None);
4638
+ py_retval = Py_None;
4630
4639
  return py_retval;
4631
4640
  }
4632
- PyObject * _wrap__api_api_VM_NewObjectInstance(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4641
+ PyObject * _wrap__api_api_ExecutionResult_Value_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4633
4642
 
4634
4643
 
4635
4644
  PyObject *
4636
- _wrap__api_api_VM_Call(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4645
+ _wrap__api_api_ExecutionResult_RawValue_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4637
4646
  {
4638
4647
  PyObject *py_retval;
4639
4648
  int64_t retval;
4640
- int64_t _handle;
4641
- char *functionName;
4642
- int64_t args2;
4643
- const char *keywords[] = {"_handle", "functionName", "args", NULL};
4649
+ int64_t handle;
4650
+ const char *keywords[] = {"handle", NULL};
4644
4651
 
4645
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsL", (char **) keywords, &_handle, &functionName, &args2)) {
4646
- return NULL;
4647
- }
4648
- retval = api_VM_Call(_handle, functionName, args2);
4649
- if (PyErr_Occurred()) {
4652
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4650
4653
  return NULL;
4651
4654
  }
4655
+ retval = api_ExecutionResult_RawValue_Get(handle);
4652
4656
  py_retval = Py_BuildValue((char *) "L", retval);
4653
4657
  return py_retval;
4654
4658
  }
4655
- PyObject * _wrap__api_api_VM_Call(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4659
+ PyObject * _wrap__api_api_ExecutionResult_RawValue_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4656
4660
 
4657
4661
 
4658
4662
  PyObject *
4659
- _wrap__api_api_VM_CallMethod(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4663
+ _wrap__api_api_ExecutionResult_RawValue_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4660
4664
  {
4661
4665
  PyObject *py_retval;
4662
- int64_t retval;
4663
- int64_t _handle;
4664
- int64_t object;
4665
- char *methodName;
4666
- int64_t args2;
4667
- const char *keywords[] = {"_handle", "object", "methodName", "args", NULL};
4666
+ int64_t handle;
4667
+ int64_t val;
4668
+ const char *keywords[] = {"handle", "val", NULL};
4668
4669
 
4669
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLsL", (char **) keywords, &_handle, &object, &methodName, &args2)) {
4670
- return NULL;
4671
- }
4672
- retval = api_VM_CallMethod(_handle, object, methodName, args2);
4673
- if (PyErr_Occurred()) {
4670
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4674
4671
  return NULL;
4675
4672
  }
4676
- py_retval = Py_BuildValue((char *) "L", retval);
4673
+ api_ExecutionResult_RawValue_Set(handle, val);
4674
+ Py_INCREF(Py_None);
4675
+ py_retval = Py_None;
4677
4676
  return py_retval;
4678
4677
  }
4679
- PyObject * _wrap__api_api_VM_CallMethod(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4678
+ PyObject * _wrap__api_api_ExecutionResult_RawValue_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4680
4679
 
4681
4680
 
4682
4681
  PyObject *
4683
- _wrap__api_api_VM_DefineVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4682
+ _wrap__api_api_ExecutionResult_Output_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4684
4683
  {
4685
4684
  PyObject *py_retval;
4686
4685
  char *retval;
4687
- int64_t _handle;
4688
- char *name;
4689
- int64_t value;
4690
- bool constant;
4691
- PyObject *py_constant;
4692
- const char *keywords[] = {"_handle", "name", "value", "constant", NULL};
4686
+ int64_t handle;
4687
+ const char *keywords[] = {"handle", NULL};
4693
4688
 
4694
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsLO", (char **) keywords, &_handle, &name, &value, &py_constant)) {
4695
- return NULL;
4696
- }
4697
- constant = (bool) PyObject_IsTrue(py_constant);
4698
- retval = api_VM_DefineVariable(_handle, name, value, constant);
4699
- if (PyErr_Occurred()) {
4689
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4700
4690
  return NULL;
4701
4691
  }
4692
+ retval = api_ExecutionResult_Output_Get(handle);
4702
4693
  py_retval = Py_BuildValue((char *) "s", retval);
4703
4694
  return py_retval;
4704
4695
  }
4705
- PyObject * _wrap__api_api_VM_DefineVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4696
+ PyObject * _wrap__api_api_ExecutionResult_Output_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4706
4697
 
4707
4698
 
4708
4699
  PyObject *
4709
- _wrap__api_api_VM_SetVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4700
+ _wrap__api_api_ExecutionResult_Output_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4710
4701
  {
4711
4702
  PyObject *py_retval;
4712
- char *retval;
4713
- int64_t _handle;
4714
- char *variableName;
4715
- int64_t value;
4716
- const char *keywords[] = {"_handle", "variableName", "value", NULL};
4703
+ int64_t handle;
4704
+ char *val;
4705
+ const char *keywords[] = {"handle", "val", NULL};
4717
4706
 
4718
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsL", (char **) keywords, &_handle, &variableName, &value)) {
4719
- return NULL;
4720
- }
4721
- retval = api_VM_SetVariable(_handle, variableName, value);
4722
- if (PyErr_Occurred()) {
4707
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
4723
4708
  return NULL;
4724
4709
  }
4725
- py_retval = Py_BuildValue((char *) "s", retval);
4710
+ api_ExecutionResult_Output_Set(handle, val);
4711
+ Py_INCREF(Py_None);
4712
+ py_retval = Py_None;
4726
4713
  return py_retval;
4727
4714
  }
4728
- PyObject * _wrap__api_api_VM_SetVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4715
+ PyObject * _wrap__api_api_ExecutionResult_Output_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4729
4716
 
4730
4717
 
4731
4718
  PyObject *
4732
- _wrap__api_api_VM_GetVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4719
+ _wrap__api_api_UnknownFunctionHandler_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4733
4720
  {
4734
4721
  PyObject *py_retval;
4735
4722
  int64_t retval;
4736
- int64_t _handle;
4737
- char *variableName;
4738
- const char *keywords[] = {"_handle", "variableName", NULL};
4739
4723
 
4740
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &variableName)) {
4741
- return NULL;
4742
- }
4743
- retval = api_VM_GetVariable(_handle, variableName);
4744
- if (PyErr_Occurred()) {
4745
- return NULL;
4746
- }
4724
+ retval = api_UnknownFunctionHandler_CTor();
4747
4725
  py_retval = Py_BuildValue((char *) "L", retval);
4748
4726
  return py_retval;
4749
4727
  }
4750
- PyObject * _wrap__api_api_VM_GetVariable(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4751
-
4752
-
4753
- PyObject *
4754
- _wrap__api_api_VM_DefineClass(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4755
- {
4756
- PyObject *py_retval;
4757
- char *retval;
4758
- int64_t _handle;
4759
- int64_t classDef;
4760
- const char *keywords[] = {"_handle", "classDef", NULL};
4761
-
4762
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &_handle, &classDef)) {
4763
- return NULL;
4764
- }
4765
- retval = api_VM_DefineClass(_handle, classDef);
4766
- if (PyErr_Occurred()) {
4767
- return NULL;
4768
- }
4769
- py_retval = Py_BuildValue((char *) "s", retval);
4770
- return py_retval;
4771
- }
4772
- PyObject * _wrap__api_api_VM_DefineClass(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4728
+ PyObject * _wrap__api_api_UnknownFunctionHandler_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4773
4729
 
4774
4730
 
4775
4731
  PyObject *
4776
- _wrap__api_api_VMCompatibilityShim_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4732
+ _wrap__api_api_VMConfig_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4777
4733
  {
4778
4734
  PyObject *py_retval;
4779
4735
  int64_t retval;
4780
4736
 
4781
- retval = api_VMCompatibilityShim_CTor();
4737
+ retval = api_VMConfig_CTor();
4782
4738
  py_retval = Py_BuildValue((char *) "L", retval);
4783
4739
  return py_retval;
4784
4740
  }
4785
- PyObject * _wrap__api_api_VMCompatibilityShim_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4741
+ PyObject * _wrap__api_api_VMConfig_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4786
4742
 
4787
4743
 
4788
4744
  PyObject *
4789
- _wrap__api_api_VMCompatibilityShim_DefineFunction(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4745
+ _wrap__api_api_VMConfig_Stdout_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4790
4746
  {
4791
4747
  PyObject *py_retval;
4792
- char *retval;
4793
- int64_t _handle;
4794
- char *id;
4795
- char *name;
4796
- int64_t argc;
4797
- PyObject *function;
4798
- const char *keywords[] = {"_handle", "id", "name", "argc", "function", NULL};
4748
+ int64_t retval;
4749
+ int64_t handle;
4750
+ const char *keywords[] = {"handle", NULL};
4799
4751
 
4800
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LssLO", (char **) keywords, &_handle, &id, &name, &argc, &function)) {
4801
- return NULL;
4802
- }
4803
- retval = api_VMCompatibilityShim_DefineFunction(_handle, id, name, argc, function);
4804
- if (PyErr_Occurred()) {
4752
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4805
4753
  return NULL;
4806
4754
  }
4807
- py_retval = Py_BuildValue((char *) "s", retval);
4755
+ retval = api_VMConfig_Stdout_Get(handle);
4756
+ py_retval = Py_BuildValue((char *) "L", retval);
4808
4757
  return py_retval;
4809
4758
  }
4810
- PyObject * _wrap__api_api_VMCompatibilityShim_DefineFunction(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4759
+ PyObject * _wrap__api_api_VMConfig_Stdout_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4811
4760
 
4812
4761
 
4813
4762
  PyObject *
4814
- _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithGetter(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4763
+ _wrap__api_api_VMConfig_Stdout_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4815
4764
  {
4816
4765
  PyObject *py_retval;
4817
- int64_t retval;
4818
- int64_t _handle;
4819
- int64_t variable;
4820
- char *getterID;
4821
- PyObject *getter;
4822
- const char *keywords[] = {"_handle", "variable", "getterID", "getter", NULL};
4766
+ int64_t handle;
4767
+ int64_t val;
4768
+ const char *keywords[] = {"handle", "val", NULL};
4823
4769
 
4824
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLsO", (char **) keywords, &_handle, &variable, &getterID, &getter)) {
4825
- return NULL;
4826
- }
4827
- retval = api_VMCompatibilityShim_BuildNewClassVariableWithGetter(_handle, variable, getterID, getter);
4828
- if (PyErr_Occurred()) {
4770
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4829
4771
  return NULL;
4830
4772
  }
4831
- py_retval = Py_BuildValue((char *) "L", retval);
4773
+ api_VMConfig_Stdout_Set(handle, val);
4774
+ Py_INCREF(Py_None);
4775
+ py_retval = Py_None;
4832
4776
  return py_retval;
4833
4777
  }
4834
- PyObject * _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithGetter(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4778
+ PyObject * _wrap__api_api_VMConfig_Stdout_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4835
4779
 
4836
4780
 
4837
4781
  PyObject *
4838
- _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithSetter(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4782
+ _wrap__api_api_VMConfig_Stdin_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4839
4783
  {
4840
4784
  PyObject *py_retval;
4841
4785
  int64_t retval;
4842
- int64_t _handle;
4843
- int64_t variable;
4844
- char *setterID;
4845
- PyObject *setter;
4846
- const char *keywords[] = {"_handle", "variable", "setterID", "setter", NULL};
4786
+ int64_t handle;
4787
+ const char *keywords[] = {"handle", NULL};
4847
4788
 
4848
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLsO", (char **) keywords, &_handle, &variable, &setterID, &setter)) {
4849
- return NULL;
4850
- }
4851
- retval = api_VMCompatibilityShim_BuildNewClassVariableWithSetter(_handle, variable, setterID, setter);
4852
- if (PyErr_Occurred()) {
4789
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4853
4790
  return NULL;
4854
4791
  }
4792
+ retval = api_VMConfig_Stdin_Get(handle);
4855
4793
  py_retval = Py_BuildValue((char *) "L", retval);
4856
4794
  return py_retval;
4857
4795
  }
4858
- PyObject * _wrap__api_api_VMCompatibilityShim_BuildNewClassVariableWithSetter(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4796
+ PyObject * _wrap__api_api_VMConfig_Stdin_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4859
4797
 
4860
4798
 
4861
4799
  PyObject *
4862
- _wrap__api_api_VMCompatibilityShim_BuildNewClassMethod(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4800
+ _wrap__api_api_VMConfig_Stdin_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4863
4801
  {
4864
4802
  PyObject *py_retval;
4865
- int64_t retval;
4866
- int64_t _handle;
4867
- int64_t method;
4868
- char *id;
4869
- PyObject *function;
4870
- const char *keywords[] = {"_handle", "method", "id", "function", NULL};
4803
+ int64_t handle;
4804
+ int64_t val;
4805
+ const char *keywords[] = {"handle", "val", NULL};
4871
4806
 
4872
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LLsO", (char **) keywords, &_handle, &method, &id, &function)) {
4873
- return NULL;
4874
- }
4875
- retval = api_VMCompatibilityShim_BuildNewClassMethod(_handle, method, id, function);
4876
- if (PyErr_Occurred()) {
4807
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4877
4808
  return NULL;
4878
4809
  }
4879
- py_retval = Py_BuildValue((char *) "L", retval);
4810
+ api_VMConfig_Stdin_Set(handle, val);
4811
+ Py_INCREF(Py_None);
4812
+ py_retval = Py_None;
4880
4813
  return py_retval;
4881
4814
  }
4882
- PyObject * _wrap__api_api_VMCompatibilityShim_BuildNewClassMethod(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4815
+ PyObject * _wrap__api_api_VMConfig_Stdin_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4883
4816
 
4884
4817
 
4885
4818
  PyObject *
4886
- _wrap__api_api_VMCompatibilityShim_BuildNewUnknownFunctionHandler(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4819
+ _wrap__api_api_VMConfig_Timeout_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4887
4820
  {
4888
4821
  PyObject *py_retval;
4889
4822
  int64_t retval;
4890
- int64_t _handle;
4891
- char *id;
4892
- PyObject *function;
4893
- const char *keywords[] = {"_handle", "id", "function", NULL};
4823
+ int64_t handle;
4824
+ const char *keywords[] = {"handle", NULL};
4894
4825
 
4895
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsO", (char **) keywords, &_handle, &id, &function)) {
4896
- return NULL;
4897
- }
4898
- retval = api_VMCompatibilityShim_BuildNewUnknownFunctionHandler(_handle, id, function);
4899
- if (PyErr_Occurred()) {
4826
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4900
4827
  return NULL;
4901
4828
  }
4829
+ retval = api_VMConfig_Timeout_Get(handle);
4902
4830
  py_retval = Py_BuildValue((char *) "L", retval);
4903
4831
  return py_retval;
4904
4832
  }
4905
- PyObject * _wrap__api_api_VMCompatibilityShim_BuildNewUnknownFunctionHandler(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4833
+ PyObject * _wrap__api_api_VMConfig_Timeout_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4906
4834
 
4907
4835
 
4908
4836
  PyObject *
4909
- _wrap__api_api_VMCompatibilityShim_IsClassDefined(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4837
+ _wrap__api_api_VMConfig_Timeout_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4910
4838
  {
4911
4839
  PyObject *py_retval;
4912
- bool retval;
4913
- int64_t _handle;
4914
- char *name;
4915
- const char *keywords[] = {"_handle", "name", NULL};
4840
+ int64_t handle;
4841
+ int64_t val;
4842
+ const char *keywords[] = {"handle", "val", NULL};
4916
4843
 
4917
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &name)) {
4918
- return NULL;
4919
- }
4920
- retval = api_VMCompatibilityShim_IsClassDefined(_handle, name);
4921
- if (PyErr_Occurred()) {
4844
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4922
4845
  return NULL;
4923
4846
  }
4924
- py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
4847
+ api_VMConfig_Timeout_Set(handle, val);
4848
+ Py_INCREF(Py_None);
4849
+ py_retval = Py_None;
4925
4850
  return py_retval;
4926
4851
  }
4927
- PyObject * _wrap__api_api_VMCompatibilityShim_IsClassDefined(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4852
+ PyObject * _wrap__api_api_VMConfig_Timeout_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4928
4853
 
4929
4854
 
4930
4855
  PyObject *
4931
- _wrap__api_api_VMCompatibilityShim_LookupObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4856
+ _wrap__api_api_VMConfig_WorkingDirectory_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4932
4857
  {
4933
4858
  PyObject *py_retval;
4934
- int64_t retval;
4935
- int64_t _handle;
4936
- char *id;
4937
- const char *keywords[] = {"_handle", "id", NULL};
4859
+ char *retval;
4860
+ int64_t handle;
4861
+ const char *keywords[] = {"handle", NULL};
4938
4862
 
4939
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &id)) {
4940
- return NULL;
4941
- }
4942
- retval = api_VMCompatibilityShim_LookupObject(_handle, id);
4943
- if (PyErr_Occurred()) {
4863
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
4944
4864
  return NULL;
4945
4865
  }
4946
- py_retval = Py_BuildValue((char *) "L", retval);
4866
+ retval = api_VMConfig_WorkingDirectory_Get(handle);
4867
+ py_retval = Py_BuildValue((char *) "s", retval);
4947
4868
  return py_retval;
4948
4869
  }
4949
- PyObject * _wrap__api_api_VMCompatibilityShim_LookupObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4870
+ PyObject * _wrap__api_api_VMConfig_WorkingDirectory_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4950
4871
 
4951
4872
 
4952
4873
  PyObject *
4953
- _wrap__api_api_VMCompatibilityShim_GetObjectMRO(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4874
+ _wrap__api_api_VMConfig_WorkingDirectory_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4954
4875
  {
4955
4876
  PyObject *py_retval;
4956
- int64_t retval;
4957
- int64_t _handle;
4958
- char *id;
4959
- const char *keywords[] = {"_handle", "id", NULL};
4877
+ int64_t handle;
4878
+ char *val;
4879
+ const char *keywords[] = {"handle", "val", NULL};
4960
4880
 
4961
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &id)) {
4962
- return NULL;
4963
- }
4964
- retval = api_VMCompatibilityShim_GetObjectMRO(_handle, id);
4965
- if (PyErr_Occurred()) {
4881
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
4966
4882
  return NULL;
4967
4883
  }
4968
- py_retval = Py_BuildValue((char *) "L", retval);
4884
+ api_VMConfig_WorkingDirectory_Set(handle, val);
4885
+ Py_INCREF(Py_None);
4886
+ py_retval = Py_None;
4969
4887
  return py_retval;
4970
4888
  }
4971
- PyObject * _wrap__api_api_VMCompatibilityShim_GetObjectMRO(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4889
+ PyObject * _wrap__api_api_VMConfig_WorkingDirectory_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4972
4890
 
4973
4891
 
4974
4892
  PyObject *
4975
- _wrap__api_api_VMCompatibilityShim_GetObjectImmediateFunctions(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4893
+ _wrap__api_api_VMConfig_Validate(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4976
4894
  {
4977
4895
  PyObject *py_retval;
4978
- int64_t retval;
4896
+ char *retval;
4979
4897
  int64_t _handle;
4980
- char *id;
4981
- const char *keywords[] = {"_handle", "id", NULL};
4898
+ const char *keywords[] = {"_handle", NULL};
4982
4899
 
4983
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &id)) {
4900
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
4984
4901
  return NULL;
4985
4902
  }
4986
- retval = api_VMCompatibilityShim_GetObjectImmediateFunctions(_handle, id);
4903
+ retval = api_VMConfig_Validate(_handle);
4987
4904
  if (PyErr_Occurred()) {
4988
4905
  return NULL;
4989
4906
  }
4990
- py_retval = Py_BuildValue((char *) "L", retval);
4907
+ py_retval = Py_BuildValue((char *) "s", retval);
4991
4908
  return py_retval;
4992
4909
  }
4993
- PyObject * _wrap__api_api_VMCompatibilityShim_GetObjectImmediateFunctions(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4910
+ PyObject * _wrap__api_api_VMConfig_Validate(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4994
4911
 
4995
4912
 
4996
4913
  PyObject *
4997
- _wrap__api_api_VMCompatibilityShim_GetObjectImmediateVariables(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4914
+ _wrap__api_api_VMError_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4998
4915
  {
4999
4916
  PyObject *py_retval;
5000
4917
  int64_t retval;
5001
- int64_t _handle;
5002
- char *id;
5003
- const char *keywords[] = {"_handle", "id", NULL};
5004
4918
 
5005
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &_handle, &id)) {
5006
- return NULL;
5007
- }
5008
- retval = api_VMCompatibilityShim_GetObjectImmediateVariables(_handle, id);
5009
- if (PyErr_Occurred()) {
5010
- return NULL;
5011
- }
4919
+ retval = api_VMError_CTor();
5012
4920
  py_retval = Py_BuildValue((char *) "L", retval);
5013
4921
  return py_retval;
5014
4922
  }
5015
- PyObject * _wrap__api_api_VMCompatibilityShim_GetObjectImmediateVariables(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4923
+ PyObject * _wrap__api_api_VMError_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
5016
4924
 
5017
4925
 
5018
4926
  PyObject *
5019
- _wrap__api_api_VMCompatibilityShim_AddVariableToObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4927
+ _wrap__api_api_VMError_Type_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5020
4928
  {
5021
4929
  PyObject *py_retval;
5022
4930
  char *retval;
5023
- int64_t _handle;
5024
- char *id;
5025
- int64_t variable;
5026
- const char *keywords[] = {"_handle", "id", "variable", NULL};
4931
+ int64_t handle;
4932
+ const char *keywords[] = {"handle", NULL};
5027
4933
 
5028
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LsL", (char **) keywords, &_handle, &id, &variable)) {
5029
- return NULL;
5030
- }
5031
- retval = api_VMCompatibilityShim_AddVariableToObject(_handle, id, variable);
5032
- if (PyErr_Occurred()) {
4934
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
5033
4935
  return NULL;
5034
4936
  }
4937
+ retval = api_VMError_Type_Get(handle);
5035
4938
  py_retval = Py_BuildValue((char *) "s", retval);
5036
4939
  return py_retval;
5037
4940
  }
5038
- PyObject * _wrap__api_api_VMCompatibilityShim_AddVariableToObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4941
+ PyObject * _wrap__api_api_VMError_Type_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5039
4942
 
5040
4943
 
5041
4944
  PyObject *
5042
- _wrap__api_api_VMConfig_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
4945
+ _wrap__api_api_VMError_Type_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5043
4946
  {
5044
4947
  PyObject *py_retval;
5045
- int64_t retval;
4948
+ int64_t handle;
4949
+ char *val;
4950
+ const char *keywords[] = {"handle", "val", NULL};
5046
4951
 
5047
- retval = api_VMConfig_CTor();
5048
- py_retval = Py_BuildValue((char *) "L", retval);
4952
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
4953
+ return NULL;
4954
+ }
4955
+ api_VMError_Type_Set(handle, val);
4956
+ Py_INCREF(Py_None);
4957
+ py_retval = Py_None;
5049
4958
  return py_retval;
5050
4959
  }
5051
- PyObject * _wrap__api_api_VMConfig_CTor(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
4960
+ PyObject * _wrap__api_api_VMError_Type_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5052
4961
 
5053
4962
 
5054
4963
  PyObject *
5055
- _wrap__api_api_VMConfig_Stdout_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4964
+ _wrap__api_api_VMError_Message_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5056
4965
  {
5057
4966
  PyObject *py_retval;
5058
- int64_t retval;
4967
+ char *retval;
5059
4968
  int64_t handle;
5060
4969
  const char *keywords[] = {"handle", NULL};
5061
4970
 
5062
4971
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
5063
4972
  return NULL;
5064
4973
  }
5065
- retval = api_VMConfig_Stdout_Get(handle);
5066
- py_retval = Py_BuildValue((char *) "L", retval);
4974
+ retval = api_VMError_Message_Get(handle);
4975
+ py_retval = Py_BuildValue((char *) "s", retval);
5067
4976
  return py_retval;
5068
4977
  }
5069
- PyObject * _wrap__api_api_VMConfig_Stdout_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4978
+ PyObject * _wrap__api_api_VMError_Message_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5070
4979
 
5071
4980
 
5072
4981
  PyObject *
5073
- _wrap__api_api_VMConfig_Stdout_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
4982
+ _wrap__api_api_VMError_Message_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5074
4983
  {
5075
4984
  PyObject *py_retval;
5076
4985
  int64_t handle;
5077
- int64_t val;
4986
+ char *val;
5078
4987
  const char *keywords[] = {"handle", "val", NULL};
5079
4988
 
5080
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
4989
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
5081
4990
  return NULL;
5082
4991
  }
5083
- api_VMConfig_Stdout_Set(handle, val);
4992
+ api_VMError_Message_Set(handle, val);
5084
4993
  Py_INCREF(Py_None);
5085
4994
  py_retval = Py_None;
5086
4995
  return py_retval;
5087
4996
  }
5088
- PyObject * _wrap__api_api_VMConfig_Stdout_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
4997
+ PyObject * _wrap__api_api_VMError_Message_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5089
4998
 
5090
4999
 
5091
5000
  PyObject *
5092
- _wrap__api_api_VMConfig_Stdin_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5001
+ _wrap__api_api_VMError_Source_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5093
5002
  {
5094
5003
  PyObject *py_retval;
5095
5004
  int64_t retval;
@@ -5099,15 +5008,15 @@ _wrap__api_api_VMConfig_Stdin_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *
5099
5008
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
5100
5009
  return NULL;
5101
5010
  }
5102
- retval = api_VMConfig_Stdin_Get(handle);
5011
+ retval = api_VMError_Source_Get(handle);
5103
5012
  py_retval = Py_BuildValue((char *) "L", retval);
5104
5013
  return py_retval;
5105
5014
  }
5106
- PyObject * _wrap__api_api_VMConfig_Stdin_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5015
+ PyObject * _wrap__api_api_VMError_Source_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5107
5016
 
5108
5017
 
5109
5018
  PyObject *
5110
- _wrap__api_api_VMConfig_Stdin_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5019
+ _wrap__api_api_VMError_Source_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5111
5020
  {
5112
5021
  PyObject *py_retval;
5113
5022
  int64_t handle;
@@ -5117,16 +5026,16 @@ _wrap__api_api_VMConfig_Stdin_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *
5117
5026
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
5118
5027
  return NULL;
5119
5028
  }
5120
- api_VMConfig_Stdin_Set(handle, val);
5029
+ api_VMError_Source_Set(handle, val);
5121
5030
  Py_INCREF(Py_None);
5122
5031
  py_retval = Py_None;
5123
5032
  return py_retval;
5124
5033
  }
5125
- PyObject * _wrap__api_api_VMConfig_Stdin_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5034
+ PyObject * _wrap__api_api_VMError_Source_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5126
5035
 
5127
5036
 
5128
5037
  PyObject *
5129
- _wrap__api_api_VMConfig_Timeout_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5038
+ _wrap__api_api_VMError_Duration_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5130
5039
  {
5131
5040
  PyObject *py_retval;
5132
5041
  int64_t retval;
@@ -5136,15 +5045,15 @@ _wrap__api_api_VMConfig_Timeout_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject
5136
5045
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
5137
5046
  return NULL;
5138
5047
  }
5139
- retval = api_VMConfig_Timeout_Get(handle);
5048
+ retval = api_VMError_Duration_Get(handle);
5140
5049
  py_retval = Py_BuildValue((char *) "L", retval);
5141
5050
  return py_retval;
5142
5051
  }
5143
- PyObject * _wrap__api_api_VMConfig_Timeout_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5052
+ PyObject * _wrap__api_api_VMError_Duration_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5144
5053
 
5145
5054
 
5146
5055
  PyObject *
5147
- _wrap__api_api_VMConfig_Timeout_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5056
+ _wrap__api_api_VMError_Duration_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5148
5057
  {
5149
5058
  PyObject *py_retval;
5150
5059
  int64_t handle;
@@ -5154,241 +5063,309 @@ _wrap__api_api_VMConfig_Timeout_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject
5154
5063
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "LL", (char **) keywords, &handle, &val)) {
5155
5064
  return NULL;
5156
5065
  }
5157
- api_VMConfig_Timeout_Set(handle, val);
5066
+ api_VMError_Duration_Set(handle, val);
5158
5067
  Py_INCREF(Py_None);
5159
5068
  py_retval = Py_None;
5160
5069
  return py_retval;
5161
5070
  }
5162
- PyObject * _wrap__api_api_VMConfig_Timeout_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5071
+ PyObject * _wrap__api_api_VMError_Duration_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5163
5072
 
5164
5073
 
5165
5074
  PyObject *
5166
- _wrap__api_api_VMConfig_WorkingDirectory_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5075
+ _wrap__api_api_VMError_Error(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5167
5076
  {
5168
5077
  PyObject *py_retval;
5169
5078
  char *retval;
5170
- int64_t handle;
5171
- const char *keywords[] = {"handle", NULL};
5079
+ int64_t _handle;
5080
+ const char *keywords[] = {"_handle", NULL};
5172
5081
 
5173
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &handle)) {
5082
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
5083
+ return NULL;
5084
+ }
5085
+ retval = api_VMError_Error(_handle);
5086
+ if (PyErr_Occurred()) {
5087
+ if (retval != NULL) free(retval);
5174
5088
  return NULL;
5175
5089
  }
5176
- retval = api_VMConfig_WorkingDirectory_Get(handle);
5177
5090
  py_retval = Py_BuildValue((char *) "s", retval);
5091
+ free(retval);
5178
5092
  return py_retval;
5179
5093
  }
5180
- PyObject * _wrap__api_api_VMConfig_WorkingDirectory_Get(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5094
+ PyObject * _wrap__api_api_VMError_Error(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5181
5095
 
5182
5096
 
5183
5097
  PyObject *
5184
- _wrap__api_api_VMConfig_WorkingDirectory_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5098
+ _wrap__api_api_VMError_Unwrap(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5185
5099
  {
5186
5100
  PyObject *py_retval;
5187
- int64_t handle;
5188
- char *val;
5189
- const char *keywords[] = {"handle", "val", NULL};
5101
+ char *retval;
5102
+ int64_t _handle;
5103
+ const char *keywords[] = {"_handle", NULL};
5190
5104
 
5191
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "Ls", (char **) keywords, &handle, &val)) {
5105
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
5192
5106
  return NULL;
5193
5107
  }
5194
- api_VMConfig_WorkingDirectory_Set(handle, val);
5195
- Py_INCREF(Py_None);
5196
- py_retval = Py_None;
5108
+ retval = api_VMError_Unwrap(_handle);
5109
+ if (PyErr_Occurred()) {
5110
+ return NULL;
5111
+ }
5112
+ py_retval = Py_BuildValue((char *) "s", retval);
5197
5113
  return py_retval;
5198
5114
  }
5199
- PyObject * _wrap__api_api_VMConfig_WorkingDirectory_Set(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5115
+ PyObject * _wrap__api_api_VMError_Unwrap(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5200
5116
 
5201
5117
 
5202
5118
  PyObject *
5203
- _wrap__api_api_VMConfig_Validate(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5119
+ _wrap__api_api_VMError_IsCompileError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5204
5120
  {
5205
5121
  PyObject *py_retval;
5206
- char *retval;
5122
+ bool retval;
5207
5123
  int64_t _handle;
5208
5124
  const char *keywords[] = {"_handle", NULL};
5209
5125
 
5210
5126
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
5211
5127
  return NULL;
5212
5128
  }
5213
- retval = api_VMConfig_Validate(_handle);
5129
+ retval = api_VMError_IsCompileError(_handle);
5214
5130
  if (PyErr_Occurred()) {
5215
5131
  return NULL;
5216
5132
  }
5217
- py_retval = Py_BuildValue((char *) "s", retval);
5133
+ py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
5218
5134
  return py_retval;
5219
5135
  }
5220
- PyObject * _wrap__api_api_VMConfig_Validate(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5136
+ PyObject * _wrap__api_api_VMError_IsCompileError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5221
5137
 
5222
5138
 
5223
5139
  PyObject *
5224
- _wrap__api_api_NewClassDefinition(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
5140
+ _wrap__api_api_VMError_IsRuntimeError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5225
5141
  {
5226
5142
  PyObject *py_retval;
5227
- int64_t retval;
5143
+ bool retval;
5144
+ int64_t _handle;
5145
+ const char *keywords[] = {"_handle", NULL};
5228
5146
 
5229
- retval = api_NewClassDefinition();
5147
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
5148
+ return NULL;
5149
+ }
5150
+ retval = api_VMError_IsRuntimeError(_handle);
5230
5151
  if (PyErr_Occurred()) {
5231
5152
  return NULL;
5232
5153
  }
5233
- py_retval = Py_BuildValue((char *) "L", retval);
5154
+ py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
5234
5155
  return py_retval;
5235
5156
  }
5236
- PyObject * _wrap__api_api_NewClassDefinition(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
5157
+ PyObject * _wrap__api_api_VMError_IsRuntimeError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5237
5158
 
5238
5159
 
5239
5160
  PyObject *
5240
- _wrap__api_api_NewCompileError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5161
+ _wrap__api_api_VMError_IsTimeoutError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5241
5162
  {
5242
5163
  PyObject *py_retval;
5243
- int64_t retval;
5244
- char *message;
5245
- int64_t source;
5246
- const char *keywords[] = {"message", "source", NULL};
5164
+ bool retval;
5165
+ int64_t _handle;
5166
+ const char *keywords[] = {"_handle", NULL};
5247
5167
 
5248
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "sL", (char **) keywords, &message, &source)) {
5168
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
5249
5169
  return NULL;
5250
5170
  }
5251
- retval = api_NewCompileError(message, source);
5171
+ retval = api_VMError_IsTimeoutError(_handle);
5172
+ if (PyErr_Occurred()) {
5173
+ return NULL;
5174
+ }
5175
+ py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
5176
+ return py_retval;
5177
+ }
5178
+ PyObject * _wrap__api_api_VMError_IsTimeoutError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5179
+
5180
+
5181
+ PyObject *
5182
+ _wrap__api_api_VMError_IsConversionError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5183
+ {
5184
+ PyObject *py_retval;
5185
+ bool retval;
5186
+ int64_t _handle;
5187
+ const char *keywords[] = {"_handle", NULL};
5188
+
5189
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
5190
+ return NULL;
5191
+ }
5192
+ retval = api_VMError_IsConversionError(_handle);
5193
+ if (PyErr_Occurred()) {
5194
+ return NULL;
5195
+ }
5196
+ py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
5197
+ return py_retval;
5198
+ }
5199
+ PyObject * _wrap__api_api_VMError_IsConversionError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5200
+
5201
+
5202
+ PyObject *
5203
+ _wrap__api_api_VMError_IsConfigError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5204
+ {
5205
+ PyObject *py_retval;
5206
+ bool retval;
5207
+ int64_t _handle;
5208
+ const char *keywords[] = {"_handle", NULL};
5209
+
5210
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &_handle)) {
5211
+ return NULL;
5212
+ }
5213
+ retval = api_VMError_IsConfigError(_handle);
5214
+ if (PyErr_Occurred()) {
5215
+ return NULL;
5216
+ }
5217
+ py_retval = Py_BuildValue((char *) "N", PyBool_FromLong(retval));
5218
+ return py_retval;
5219
+ }
5220
+ PyObject * _wrap__api_api_VMError_IsConfigError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5221
+
5222
+
5223
+ PyObject *
5224
+ _wrap__api_api_NewClassDefinition(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
5225
+ {
5226
+ PyObject *py_retval;
5227
+ int64_t retval;
5228
+
5229
+ retval = api_NewClassDefinition();
5252
5230
  if (PyErr_Occurred()) {
5253
5231
  return NULL;
5254
5232
  }
5255
5233
  py_retval = Py_BuildValue((char *) "L", retval);
5256
5234
  return py_retval;
5257
5235
  }
5258
- PyObject * _wrap__api_api_NewCompileError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5236
+ PyObject * _wrap__api_api_NewClassDefinition(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
5259
5237
 
5260
5238
 
5261
5239
  PyObject *
5262
- _wrap__api_api_NewConversionError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5240
+ _wrap__api_api_ToGoValue(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5263
5241
  {
5264
5242
  PyObject *py_retval;
5265
5243
  int64_t retval;
5266
- char *message;
5267
- char *wrapped;
5268
- const char *keywords[] = {"message", "wrapped", NULL};
5244
+ int64_t val;
5245
+ const char *keywords[] = {"val", NULL};
5269
5246
 
5270
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "ss", (char **) keywords, &message, &wrapped)) {
5247
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &val)) {
5271
5248
  return NULL;
5272
5249
  }
5273
- retval = api_NewConversionError(message, wrapped);
5250
+ retval = api_ToGoValue(val);
5274
5251
  if (PyErr_Occurred()) {
5275
5252
  return NULL;
5276
5253
  }
5277
5254
  py_retval = Py_BuildValue((char *) "L", retval);
5278
5255
  return py_retval;
5279
5256
  }
5280
- PyObject * _wrap__api_api_NewConversionError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5257
+ PyObject * _wrap__api_api_ToGoValue(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5281
5258
 
5282
5259
 
5283
5260
  PyObject *
5284
- _wrap__api_api_NewRuntimeError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5261
+ _wrap__api_api_WrapFloat(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5285
5262
  {
5286
5263
  PyObject *py_retval;
5287
5264
  int64_t retval;
5288
- char *message;
5289
- int64_t source;
5290
- const char *keywords[] = {"message", "source", NULL};
5265
+ double value;
5266
+ const char *keywords[] = {"value", NULL};
5291
5267
 
5292
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "sL", (char **) keywords, &message, &source)) {
5268
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "d", (char **) keywords, &value)) {
5293
5269
  return NULL;
5294
5270
  }
5295
- retval = api_NewRuntimeError(message, source);
5271
+ retval = api_WrapFloat(value);
5296
5272
  if (PyErr_Occurred()) {
5297
5273
  return NULL;
5298
5274
  }
5299
5275
  py_retval = Py_BuildValue((char *) "L", retval);
5300
5276
  return py_retval;
5301
5277
  }
5302
- PyObject * _wrap__api_api_NewRuntimeError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5278
+ PyObject * _wrap__api_api_WrapFloat(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5303
5279
 
5304
5280
 
5305
5281
  PyObject *
5306
- _wrap__api_api_NewConfigError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5282
+ _wrap__api_api_WrapObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5307
5283
  {
5308
5284
  PyObject *py_retval;
5309
5285
  int64_t retval;
5310
- char *message;
5311
- char *wrapped;
5312
- const char *keywords[] = {"message", "wrapped", NULL};
5286
+ int64_t value;
5287
+ const char *keywords[] = {"value", NULL};
5313
5288
 
5314
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "ss", (char **) keywords, &message, &wrapped)) {
5289
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &value)) {
5315
5290
  return NULL;
5316
5291
  }
5317
- retval = api_NewConfigError(message, wrapped);
5292
+ retval = api_WrapObject(value);
5318
5293
  if (PyErr_Occurred()) {
5319
5294
  return NULL;
5320
5295
  }
5321
5296
  py_retval = Py_BuildValue((char *) "L", retval);
5322
5297
  return py_retval;
5323
5298
  }
5324
- PyObject * _wrap__api_api_NewConfigError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5299
+ PyObject * _wrap__api_api_WrapObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5325
5300
 
5326
5301
 
5327
5302
  PyObject *
5328
- _wrap__api_api_NewTimeoutError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5303
+ _wrap__api_api_WrapString(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5329
5304
  {
5330
5305
  PyObject *py_retval;
5331
5306
  int64_t retval;
5332
- int64_t duration;
5333
- const char *keywords[] = {"duration", NULL};
5307
+ char *value;
5308
+ const char *keywords[] = {"value", NULL};
5334
5309
 
5335
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &duration)) {
5310
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "s", (char **) keywords, &value)) {
5336
5311
  return NULL;
5337
5312
  }
5338
- retval = api_NewTimeoutError(duration);
5313
+ retval = api_WrapString(value);
5339
5314
  if (PyErr_Occurred()) {
5340
5315
  return NULL;
5341
5316
  }
5342
5317
  py_retval = Py_BuildValue((char *) "L", retval);
5343
5318
  return py_retval;
5344
5319
  }
5345
- PyObject * _wrap__api_api_NewTimeoutError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5320
+ PyObject * _wrap__api_api_WrapString(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5346
5321
 
5347
5322
 
5348
5323
  PyObject *
5349
- _wrap__api_api_WrapAny(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5324
+ _wrap__api_api_WrapBool(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5350
5325
  {
5351
5326
  PyObject *py_retval;
5352
5327
  int64_t retval;
5353
- char *value;
5328
+ bool value;
5329
+ PyObject *py_value;
5354
5330
  const char *keywords[] = {"value", NULL};
5355
5331
 
5356
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "s", (char **) keywords, &value)) {
5332
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "O", (char **) keywords, &py_value)) {
5357
5333
  return NULL;
5358
5334
  }
5359
- retval = api_WrapAny(value);
5335
+ value = (bool) PyObject_IsTrue(py_value);
5336
+ retval = api_WrapBool(value);
5360
5337
  if (PyErr_Occurred()) {
5361
5338
  return NULL;
5362
5339
  }
5363
5340
  py_retval = Py_BuildValue((char *) "L", retval);
5364
5341
  return py_retval;
5365
5342
  }
5366
- PyObject * _wrap__api_api_WrapAny(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5343
+ PyObject * _wrap__api_api_WrapBool(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5367
5344
 
5368
5345
 
5369
5346
  PyObject *
5370
- _wrap__api_api_WrapFloat(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5347
+ _wrap__api_api_WrapInt(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5371
5348
  {
5372
5349
  PyObject *py_retval;
5373
5350
  int64_t retval;
5374
- double value;
5351
+ int64_t value;
5375
5352
  const char *keywords[] = {"value", NULL};
5376
5353
 
5377
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "d", (char **) keywords, &value)) {
5354
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &value)) {
5378
5355
  return NULL;
5379
5356
  }
5380
- retval = api_WrapFloat(value);
5357
+ retval = api_WrapInt(value);
5381
5358
  if (PyErr_Occurred()) {
5382
5359
  return NULL;
5383
5360
  }
5384
5361
  py_retval = Py_BuildValue((char *) "L", retval);
5385
5362
  return py_retval;
5386
5363
  }
5387
- PyObject * _wrap__api_api_WrapFloat(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5364
+ PyObject * _wrap__api_api_WrapInt(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5388
5365
 
5389
5366
 
5390
5367
  PyObject *
5391
- _wrap__api_api_WrapString(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5368
+ _wrap__api_api_WrapAny(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5392
5369
  {
5393
5370
  PyObject *py_retval;
5394
5371
  int64_t retval;
@@ -5398,158 +5375,160 @@ _wrap__api_api_WrapString(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, Py
5398
5375
  if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "s", (char **) keywords, &value)) {
5399
5376
  return NULL;
5400
5377
  }
5401
- retval = api_WrapString(value);
5378
+ retval = api_WrapAny(value);
5402
5379
  if (PyErr_Occurred()) {
5403
5380
  return NULL;
5404
5381
  }
5405
5382
  py_retval = Py_BuildValue((char *) "L", retval);
5406
5383
  return py_retval;
5407
5384
  }
5408
- PyObject * _wrap__api_api_WrapString(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5385
+ PyObject * _wrap__api_api_WrapAny(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5409
5386
 
5410
5387
 
5411
5388
  PyObject *
5412
- _wrap__api_api_ToGoValue(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5389
+ _wrap__api_api_NewVM(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5413
5390
  {
5414
5391
  PyObject *py_retval;
5415
5392
  int64_t retval;
5416
- int64_t val;
5417
- const char *keywords[] = {"val", NULL};
5393
+ int64_t config;
5394
+ const char *keywords[] = {"config", NULL};
5418
5395
 
5419
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &val)) {
5396
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &config)) {
5420
5397
  return NULL;
5421
5398
  }
5422
- retval = api_ToGoValue(val);
5399
+ retval = api_NewVM(config);
5423
5400
  if (PyErr_Occurred()) {
5424
5401
  return NULL;
5425
5402
  }
5426
5403
  py_retval = Py_BuildValue((char *) "L", retval);
5427
5404
  return py_retval;
5428
5405
  }
5429
- PyObject * _wrap__api_api_ToGoValue(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5406
+ PyObject * _wrap__api_api_NewVM(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5430
5407
 
5431
5408
 
5432
5409
  PyObject *
5433
- _wrap__api_api_WrapBool(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5410
+ _wrap__api_api_DefaultConfig(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
5434
5411
  {
5435
5412
  PyObject *py_retval;
5436
5413
  int64_t retval;
5437
- bool value;
5438
- PyObject *py_value;
5439
- const char *keywords[] = {"value", NULL};
5440
5414
 
5441
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "O", (char **) keywords, &py_value)) {
5442
- return NULL;
5443
- }
5444
- value = (bool) PyObject_IsTrue(py_value);
5445
- retval = api_WrapBool(value);
5415
+ retval = api_DefaultConfig();
5446
5416
  if (PyErr_Occurred()) {
5447
5417
  return NULL;
5448
5418
  }
5449
5419
  py_retval = Py_BuildValue((char *) "L", retval);
5450
5420
  return py_retval;
5451
5421
  }
5452
- PyObject * _wrap__api_api_WrapBool(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5422
+ PyObject * _wrap__api_api_DefaultConfig(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
5453
5423
 
5454
5424
 
5455
5425
  PyObject *
5456
- _wrap__api_api_WrapInt(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5426
+ _wrap__api_api_NewConversionError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5457
5427
  {
5458
5428
  PyObject *py_retval;
5459
5429
  int64_t retval;
5460
- int64_t value;
5461
- const char *keywords[] = {"value", NULL};
5430
+ char *message;
5431
+ char *wrapped;
5432
+ const char *keywords[] = {"message", "wrapped", NULL};
5462
5433
 
5463
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &value)) {
5434
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "ss", (char **) keywords, &message, &wrapped)) {
5464
5435
  return NULL;
5465
5436
  }
5466
- retval = api_WrapInt(value);
5437
+ retval = api_NewConversionError(message, wrapped);
5467
5438
  if (PyErr_Occurred()) {
5468
5439
  return NULL;
5469
5440
  }
5470
5441
  py_retval = Py_BuildValue((char *) "L", retval);
5471
5442
  return py_retval;
5472
5443
  }
5473
- PyObject * _wrap__api_api_WrapInt(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5444
+ PyObject * _wrap__api_api_NewConversionError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5474
5445
 
5475
5446
 
5476
5447
  PyObject *
5477
- _wrap__api_api_WrapObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5448
+ _wrap__api_api_NewRuntimeError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5478
5449
  {
5479
5450
  PyObject *py_retval;
5480
5451
  int64_t retval;
5481
- int64_t value;
5482
- const char *keywords[] = {"value", NULL};
5452
+ char *message;
5453
+ int64_t source;
5454
+ const char *keywords[] = {"message", "source", NULL};
5483
5455
 
5484
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &value)) {
5456
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "sL", (char **) keywords, &message, &source)) {
5485
5457
  return NULL;
5486
5458
  }
5487
- retval = api_WrapObject(value);
5459
+ retval = api_NewRuntimeError(message, source);
5488
5460
  if (PyErr_Occurred()) {
5489
5461
  return NULL;
5490
5462
  }
5491
5463
  py_retval = Py_BuildValue((char *) "L", retval);
5492
5464
  return py_retval;
5493
5465
  }
5494
- PyObject * _wrap__api_api_WrapObject(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5466
+ PyObject * _wrap__api_api_NewRuntimeError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5495
5467
 
5496
5468
 
5497
5469
  PyObject *
5498
- _wrap__api_api_NewVM(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5470
+ _wrap__api_api_NewCompileError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5499
5471
  {
5500
5472
  PyObject *py_retval;
5501
5473
  int64_t retval;
5502
- int64_t config;
5503
- const char *keywords[] = {"config", NULL};
5474
+ char *message;
5475
+ int64_t source;
5476
+ const char *keywords[] = {"message", "source", NULL};
5504
5477
 
5505
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &config)) {
5478
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "sL", (char **) keywords, &message, &source)) {
5506
5479
  return NULL;
5507
5480
  }
5508
- retval = api_NewVM(config);
5481
+ retval = api_NewCompileError(message, source);
5509
5482
  if (PyErr_Occurred()) {
5510
5483
  return NULL;
5511
5484
  }
5512
5485
  py_retval = Py_BuildValue((char *) "L", retval);
5513
5486
  return py_retval;
5514
5487
  }
5515
- PyObject * _wrap__api_api_NewVM(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5488
+ PyObject * _wrap__api_api_NewCompileError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5516
5489
 
5517
5490
 
5518
5491
  PyObject *
5519
- _wrap__api_api_DefaultConfig(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs))
5492
+ _wrap__api_api_NewConfigError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5520
5493
  {
5521
5494
  PyObject *py_retval;
5522
5495
  int64_t retval;
5496
+ char *message;
5497
+ char *wrapped;
5498
+ const char *keywords[] = {"message", "wrapped", NULL};
5523
5499
 
5524
- retval = api_DefaultConfig();
5500
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "ss", (char **) keywords, &message, &wrapped)) {
5501
+ return NULL;
5502
+ }
5503
+ retval = api_NewConfigError(message, wrapped);
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_DefaultConfig(PyObject *PYBINDGEN_UNUSED(_args), PyObject *PYBINDGEN_UNUSED(_kwargs));
5510
+ PyObject * _wrap__api_api_NewConfigError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5532
5511
 
5533
5512
 
5534
5513
  PyObject *
5535
- _wrap__api_api_ConvertArguments(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5514
+ _wrap__api_api_NewTimeoutError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5536
5515
  {
5537
5516
  PyObject *py_retval;
5538
5517
  int64_t retval;
5539
- int64_t args2;
5540
- const char *keywords[] = {"args", NULL};
5518
+ int64_t duration;
5519
+ const char *keywords[] = {"duration", NULL};
5541
5520
 
5542
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &args2)) {
5521
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &duration)) {
5543
5522
  return NULL;
5544
5523
  }
5545
- retval = api_ConvertArguments(args2);
5524
+ retval = api_NewTimeoutError(duration);
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_ConvertArguments(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5531
+ PyObject * _wrap__api_api_NewTimeoutError(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5553
5532
 
5554
5533
 
5555
5534
  PyObject *
@@ -5593,6 +5572,27 @@ _wrap__api_api_FromGoValue(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, P
5593
5572
  }
5594
5573
  PyObject * _wrap__api_api_FromGoValue(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs);
5595
5574
 
5575
+
5576
+ PyObject *
5577
+ _wrap__api_api_ConvertArguments(PyObject * PYBINDGEN_UNUSED(dummy), PyObject *args, PyObject *kwargs)
5578
+ {
5579
+ PyObject *py_retval;
5580
+ int64_t retval;
5581
+ int64_t args2;
5582
+ const char *keywords[] = {"args", NULL};
5583
+
5584
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, (char *) "L", (char **) keywords, &args2)) {
5585
+ return NULL;
5586
+ }
5587
+ retval = api_ConvertArguments(args2);
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_ConvertArguments(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" },
@@ -5791,41 +5791,6 @@ static PyMethodDef _api_functions[] = {
5791
5791
  {(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" },
5792
5792
  {(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" },
5793
5793
  {(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" },
5794
- {(char *) "api_ExecutionResult_CTor", (PyCFunction) _wrap__api_api_ExecutionResult_CTor, METH_NOARGS, "api_ExecutionResult_CTor()\n\n" },
5795
- {(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" },
5796
- {(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" },
5797
- {(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" },
5798
- {(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" },
5799
- {(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" },
5800
- {(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 *" },
5801
- {(char *) "api_SourceLocation_CTor", (PyCFunction) _wrap__api_api_SourceLocation_CTor, METH_NOARGS, "api_SourceLocation_CTor()\n\n" },
5802
- {(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" },
5803
- {(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 *" },
5804
- {(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" },
5805
- {(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" },
5806
- {(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" },
5807
- {(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" },
5808
- {(char *) "api_VMError_CTor", (PyCFunction) _wrap__api_api_VMError_CTor, METH_NOARGS, "api_VMError_CTor()\n\n" },
5809
- {(char *) "api_VMError_Type_Get", (PyCFunction) _wrap__api_api_VMError_Type_Get, METH_KEYWORDS|METH_VARARGS, "api_VMError_Type_Get(handle)\n\ntype: handle: int64_t" },
5810
- {(char *) "api_VMError_Type_Set", (PyCFunction) _wrap__api_api_VMError_Type_Set, METH_KEYWORDS|METH_VARARGS, "api_VMError_Type_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: char *" },
5811
- {(char *) "api_VMError_Message_Get", (PyCFunction) _wrap__api_api_VMError_Message_Get, METH_KEYWORDS|METH_VARARGS, "api_VMError_Message_Get(handle)\n\ntype: handle: int64_t" },
5812
- {(char *) "api_VMError_Message_Set", (PyCFunction) _wrap__api_api_VMError_Message_Set, METH_KEYWORDS|METH_VARARGS, "api_VMError_Message_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: char *" },
5813
- {(char *) "api_VMError_Source_Get", (PyCFunction) _wrap__api_api_VMError_Source_Get, METH_KEYWORDS|METH_VARARGS, "api_VMError_Source_Get(handle)\n\ntype: handle: int64_t" },
5814
- {(char *) "api_VMError_Source_Set", (PyCFunction) _wrap__api_api_VMError_Source_Set, METH_KEYWORDS|METH_VARARGS, "api_VMError_Source_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5815
- {(char *) "api_VMError_Duration_Get", (PyCFunction) _wrap__api_api_VMError_Duration_Get, METH_KEYWORDS|METH_VARARGS, "api_VMError_Duration_Get(handle)\n\ntype: handle: int64_t" },
5816
- {(char *) "api_VMError_Duration_Set", (PyCFunction) _wrap__api_api_VMError_Duration_Set, METH_KEYWORDS|METH_VARARGS, "api_VMError_Duration_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5817
- {(char *) "api_VMError_Error", (PyCFunction) _wrap__api_api_VMError_Error, METH_KEYWORDS|METH_VARARGS, "api_VMError_Error(_handle)\n\ntype: _handle: int64_t" },
5818
- {(char *) "api_VMError_Unwrap", (PyCFunction) _wrap__api_api_VMError_Unwrap, METH_KEYWORDS|METH_VARARGS, "api_VMError_Unwrap(_handle)\n\ntype: _handle: int64_t" },
5819
- {(char *) "api_VMError_IsCompileError", (PyCFunction) _wrap__api_api_VMError_IsCompileError, METH_KEYWORDS|METH_VARARGS, "api_VMError_IsCompileError(_handle)\n\ntype: _handle: int64_t" },
5820
- {(char *) "api_VMError_IsRuntimeError", (PyCFunction) _wrap__api_api_VMError_IsRuntimeError, METH_KEYWORDS|METH_VARARGS, "api_VMError_IsRuntimeError(_handle)\n\ntype: _handle: int64_t" },
5821
- {(char *) "api_VMError_IsTimeoutError", (PyCFunction) _wrap__api_api_VMError_IsTimeoutError, METH_KEYWORDS|METH_VARARGS, "api_VMError_IsTimeoutError(_handle)\n\ntype: _handle: int64_t" },
5822
- {(char *) "api_VMError_IsConversionError", (PyCFunction) _wrap__api_api_VMError_IsConversionError, METH_KEYWORDS|METH_VARARGS, "api_VMError_IsConversionError(_handle)\n\ntype: _handle: int64_t" },
5823
- {(char *) "api_VMError_IsConfigError", (PyCFunction) _wrap__api_api_VMError_IsConfigError, METH_KEYWORDS|METH_VARARGS, "api_VMError_IsConfigError(_handle)\n\ntype: _handle: int64_t" },
5824
- {(char *) "api_ClassMethod_CTor", (PyCFunction) _wrap__api_api_ClassMethod_CTor, METH_NOARGS, "api_ClassMethod_CTor()\n\n" },
5825
- {(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" },
5826
- {(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 *" },
5827
- {(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" },
5828
- {(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" },
5829
5794
  {(char *) "api_GoValue_CTor", (PyCFunction) _wrap__api_api_GoValue_CTor, METH_NOARGS, "api_GoValue_CTor()\n\n" },
5830
5795
  {(char *) "api_GoValue_ID", (PyCFunction) _wrap__api_api_GoValue_ID, METH_KEYWORDS|METH_VARARGS, "api_GoValue_ID(_handle)\n\ntype: _handle: int64_t" },
5831
5796
  {(char *) "api_GoValue_MarshalJSON", (PyCFunction) _wrap__api_api_GoValue_MarshalJSON, METH_KEYWORDS|METH_VARARGS, "api_GoValue_MarshalJSON(_handle)\n\ntype: _handle: int64_t" },
@@ -5837,7 +5802,13 @@ static PyMethodDef _api_functions[] = {
5837
5802
  {(char *) "api_GoValue_Slice", (PyCFunction) _wrap__api_api_GoValue_Slice, METH_KEYWORDS|METH_VARARGS, "api_GoValue_Slice(_handle)\n\ntype: _handle: int64_t" },
5838
5803
  {(char *) "api_GoValue_Map", (PyCFunction) _wrap__api_api_GoValue_Map, METH_KEYWORDS|METH_VARARGS, "api_GoValue_Map(_handle)\n\ntype: _handle: int64_t" },
5839
5804
  {(char *) "api_GoValue_Object", (PyCFunction) _wrap__api_api_GoValue_Object, METH_KEYWORDS|METH_VARARGS, "api_GoValue_Object(_handle)\n\ntype: _handle: int64_t" },
5840
- {(char *) "api_UnknownFunctionHandler_CTor", (PyCFunction) _wrap__api_api_UnknownFunctionHandler_CTor, METH_NOARGS, "api_UnknownFunctionHandler_CTor()\n\n" },
5805
+ {(char *) "api_SourceLocation_CTor", (PyCFunction) _wrap__api_api_SourceLocation_CTor, METH_NOARGS, "api_SourceLocation_CTor()\n\n" },
5806
+ {(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" },
5807
+ {(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 *" },
5808
+ {(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" },
5809
+ {(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" },
5810
+ {(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" },
5811
+ {(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" },
5841
5812
  {(char *) "api_VM_CTor", (PyCFunction) _wrap__api_api_VM_CTor, METH_NOARGS, "api_VM_CTor()\n\n" },
5842
5813
  {(char *) "api_VM_GetCompatibilityShim", (PyCFunction) _wrap__api_api_VM_GetCompatibilityShim, METH_KEYWORDS|METH_VARARGS, "api_VM_GetCompatibilityShim(_handle)\n\ntype: _handle: int64_t" },
5843
5814
  {(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 *" },
@@ -5861,6 +5832,19 @@ static PyMethodDef _api_functions[] = {
5861
5832
  {(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 *" },
5862
5833
  {(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 *" },
5863
5834
  {(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" },
5835
+ {(char *) "api_ClassMethod_CTor", (PyCFunction) _wrap__api_api_ClassMethod_CTor, METH_NOARGS, "api_ClassMethod_CTor()\n\n" },
5836
+ {(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" },
5837
+ {(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 *" },
5838
+ {(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" },
5839
+ {(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" },
5840
+ {(char *) "api_ExecutionResult_CTor", (PyCFunction) _wrap__api_api_ExecutionResult_CTor, METH_NOARGS, "api_ExecutionResult_CTor()\n\n" },
5841
+ {(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" },
5842
+ {(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" },
5843
+ {(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" },
5844
+ {(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" },
5845
+ {(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" },
5846
+ {(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 *" },
5847
+ {(char *) "api_UnknownFunctionHandler_CTor", (PyCFunction) _wrap__api_api_UnknownFunctionHandler_CTor, METH_NOARGS, "api_UnknownFunctionHandler_CTor()\n\n" },
5864
5848
  {(char *) "api_VMConfig_CTor", (PyCFunction) _wrap__api_api_VMConfig_CTor, METH_NOARGS, "api_VMConfig_CTor()\n\n" },
5865
5849
  {(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" },
5866
5850
  {(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 +5855,40 @@ static PyMethodDef _api_functions[] = {
5871
5855
  {(char *) "api_VMConfig_WorkingDirectory_Get", (PyCFunction) _wrap__api_api_VMConfig_WorkingDirectory_Get, METH_KEYWORDS|METH_VARARGS, "api_VMConfig_WorkingDirectory_Get(handle)\n\ntype: handle: int64_t" },
5872
5856
  {(char *) "api_VMConfig_WorkingDirectory_Set", (PyCFunction) _wrap__api_api_VMConfig_WorkingDirectory_Set, METH_KEYWORDS|METH_VARARGS, "api_VMConfig_WorkingDirectory_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: char *" },
5873
5857
  {(char *) "api_VMConfig_Validate", (PyCFunction) _wrap__api_api_VMConfig_Validate, METH_KEYWORDS|METH_VARARGS, "api_VMConfig_Validate(_handle)\n\ntype: _handle: int64_t" },
5858
+ {(char *) "api_VMError_CTor", (PyCFunction) _wrap__api_api_VMError_CTor, METH_NOARGS, "api_VMError_CTor()\n\n" },
5859
+ {(char *) "api_VMError_Type_Get", (PyCFunction) _wrap__api_api_VMError_Type_Get, METH_KEYWORDS|METH_VARARGS, "api_VMError_Type_Get(handle)\n\ntype: handle: int64_t" },
5860
+ {(char *) "api_VMError_Type_Set", (PyCFunction) _wrap__api_api_VMError_Type_Set, METH_KEYWORDS|METH_VARARGS, "api_VMError_Type_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: char *" },
5861
+ {(char *) "api_VMError_Message_Get", (PyCFunction) _wrap__api_api_VMError_Message_Get, METH_KEYWORDS|METH_VARARGS, "api_VMError_Message_Get(handle)\n\ntype: handle: int64_t" },
5862
+ {(char *) "api_VMError_Message_Set", (PyCFunction) _wrap__api_api_VMError_Message_Set, METH_KEYWORDS|METH_VARARGS, "api_VMError_Message_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: char *" },
5863
+ {(char *) "api_VMError_Source_Get", (PyCFunction) _wrap__api_api_VMError_Source_Get, METH_KEYWORDS|METH_VARARGS, "api_VMError_Source_Get(handle)\n\ntype: handle: int64_t" },
5864
+ {(char *) "api_VMError_Source_Set", (PyCFunction) _wrap__api_api_VMError_Source_Set, METH_KEYWORDS|METH_VARARGS, "api_VMError_Source_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5865
+ {(char *) "api_VMError_Duration_Get", (PyCFunction) _wrap__api_api_VMError_Duration_Get, METH_KEYWORDS|METH_VARARGS, "api_VMError_Duration_Get(handle)\n\ntype: handle: int64_t" },
5866
+ {(char *) "api_VMError_Duration_Set", (PyCFunction) _wrap__api_api_VMError_Duration_Set, METH_KEYWORDS|METH_VARARGS, "api_VMError_Duration_Set(handle, val)\n\ntype: handle: int64_t\ntype: val: int64_t" },
5867
+ {(char *) "api_VMError_Error", (PyCFunction) _wrap__api_api_VMError_Error, METH_KEYWORDS|METH_VARARGS, "api_VMError_Error(_handle)\n\ntype: _handle: int64_t" },
5868
+ {(char *) "api_VMError_Unwrap", (PyCFunction) _wrap__api_api_VMError_Unwrap, METH_KEYWORDS|METH_VARARGS, "api_VMError_Unwrap(_handle)\n\ntype: _handle: int64_t" },
5869
+ {(char *) "api_VMError_IsCompileError", (PyCFunction) _wrap__api_api_VMError_IsCompileError, METH_KEYWORDS|METH_VARARGS, "api_VMError_IsCompileError(_handle)\n\ntype: _handle: int64_t" },
5870
+ {(char *) "api_VMError_IsRuntimeError", (PyCFunction) _wrap__api_api_VMError_IsRuntimeError, METH_KEYWORDS|METH_VARARGS, "api_VMError_IsRuntimeError(_handle)\n\ntype: _handle: int64_t" },
5871
+ {(char *) "api_VMError_IsTimeoutError", (PyCFunction) _wrap__api_api_VMError_IsTimeoutError, METH_KEYWORDS|METH_VARARGS, "api_VMError_IsTimeoutError(_handle)\n\ntype: _handle: int64_t" },
5872
+ {(char *) "api_VMError_IsConversionError", (PyCFunction) _wrap__api_api_VMError_IsConversionError, METH_KEYWORDS|METH_VARARGS, "api_VMError_IsConversionError(_handle)\n\ntype: _handle: int64_t" },
5873
+ {(char *) "api_VMError_IsConfigError", (PyCFunction) _wrap__api_api_VMError_IsConfigError, METH_KEYWORDS|METH_VARARGS, "api_VMError_IsConfigError(_handle)\n\ntype: _handle: int64_t" },
5874
5874
  {(char *) "api_NewClassDefinition", (PyCFunction) _wrap__api_api_NewClassDefinition, METH_NOARGS, "api_NewClassDefinition()\n\n" },
5875
- {(char *) "api_NewCompileError", (PyCFunction) _wrap__api_api_NewCompileError, METH_KEYWORDS|METH_VARARGS, "api_NewCompileError(message, source)\n\ntype: message: char *\ntype: source: int64_t" },
5876
- {(char *) "api_NewConversionError", (PyCFunction) _wrap__api_api_NewConversionError, METH_KEYWORDS|METH_VARARGS, "api_NewConversionError(message, wrapped)\n\ntype: message: char *\ntype: wrapped: char *" },
5877
- {(char *) "api_NewRuntimeError", (PyCFunction) _wrap__api_api_NewRuntimeError, METH_KEYWORDS|METH_VARARGS, "api_NewRuntimeError(message, source)\n\ntype: message: char *\ntype: source: int64_t" },
5878
- {(char *) "api_NewConfigError", (PyCFunction) _wrap__api_api_NewConfigError, METH_KEYWORDS|METH_VARARGS, "api_NewConfigError(message, wrapped)\n\ntype: message: char *\ntype: wrapped: char *" },
5879
- {(char *) "api_NewTimeoutError", (PyCFunction) _wrap__api_api_NewTimeoutError, METH_KEYWORDS|METH_VARARGS, "api_NewTimeoutError(duration)\n\ntype: duration: int64_t" },
5880
- {(char *) "api_WrapAny", (PyCFunction) _wrap__api_api_WrapAny, METH_KEYWORDS|METH_VARARGS, "api_WrapAny(value)\n\ntype: value: char *" },
5875
+ {(char *) "api_ToGoValue", (PyCFunction) _wrap__api_api_ToGoValue, METH_KEYWORDS|METH_VARARGS, "api_ToGoValue(val)\n\ntype: val: int64_t" },
5881
5876
  {(char *) "api_WrapFloat", (PyCFunction) _wrap__api_api_WrapFloat, METH_KEYWORDS|METH_VARARGS, "api_WrapFloat(value)\n\ntype: value: double" },
5877
+ {(char *) "api_WrapObject", (PyCFunction) _wrap__api_api_WrapObject, METH_KEYWORDS|METH_VARARGS, "api_WrapObject(value)\n\ntype: value: int64_t" },
5882
5878
  {(char *) "api_WrapString", (PyCFunction) _wrap__api_api_WrapString, METH_KEYWORDS|METH_VARARGS, "api_WrapString(value)\n\ntype: value: char *" },
5883
- {(char *) "api_ToGoValue", (PyCFunction) _wrap__api_api_ToGoValue, METH_KEYWORDS|METH_VARARGS, "api_ToGoValue(val)\n\ntype: val: int64_t" },
5884
5879
  {(char *) "api_WrapBool", (PyCFunction) _wrap__api_api_WrapBool, METH_KEYWORDS|METH_VARARGS, "api_WrapBool(value)\n\ntype: value: bool" },
5885
5880
  {(char *) "api_WrapInt", (PyCFunction) _wrap__api_api_WrapInt, METH_KEYWORDS|METH_VARARGS, "api_WrapInt(value)\n\ntype: value: int64_t" },
5886
- {(char *) "api_WrapObject", (PyCFunction) _wrap__api_api_WrapObject, METH_KEYWORDS|METH_VARARGS, "api_WrapObject(value)\n\ntype: value: int64_t" },
5881
+ {(char *) "api_WrapAny", (PyCFunction) _wrap__api_api_WrapAny, METH_KEYWORDS|METH_VARARGS, "api_WrapAny(value)\n\ntype: value: char *" },
5887
5882
  {(char *) "api_NewVM", (PyCFunction) _wrap__api_api_NewVM, METH_KEYWORDS|METH_VARARGS, "api_NewVM(config)\n\ntype: config: int64_t" },
5888
5883
  {(char *) "api_DefaultConfig", (PyCFunction) _wrap__api_api_DefaultConfig, METH_NOARGS, "api_DefaultConfig()\n\n" },
5889
- {(char *) "api_ConvertArguments", (PyCFunction) _wrap__api_api_ConvertArguments, METH_KEYWORDS|METH_VARARGS, "api_ConvertArguments(args)\n\ntype: args: int64_t" },
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
+ {(char *) "api_NewRuntimeError", (PyCFunction) _wrap__api_api_NewRuntimeError, METH_KEYWORDS|METH_VARARGS, "api_NewRuntimeError(message, source)\n\ntype: message: char *\ntype: source: int64_t" },
5886
+ {(char *) "api_NewCompileError", (PyCFunction) _wrap__api_api_NewCompileError, METH_KEYWORDS|METH_VARARGS, "api_NewCompileError(message, source)\n\ntype: message: char *\ntype: source: int64_t" },
5887
+ {(char *) "api_NewConfigError", (PyCFunction) _wrap__api_api_NewConfigError, METH_KEYWORDS|METH_VARARGS, "api_NewConfigError(message, wrapped)\n\ntype: message: char *\ntype: wrapped: char *" },
5888
+ {(char *) "api_NewTimeoutError", (PyCFunction) _wrap__api_api_NewTimeoutError, METH_KEYWORDS|METH_VARARGS, "api_NewTimeoutError(duration)\n\ntype: duration: 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_FromGoValue", (PyCFunction) _wrap__api_api_FromGoValue, METH_KEYWORDS|METH_VARARGS, "api_FromGoValue(val)\n\ntype: val: int64_t" },
5891
+ {(char *) "api_ConvertArguments", (PyCFunction) _wrap__api_api_ConvertArguments, METH_KEYWORDS|METH_VARARGS, "api_ConvertArguments(args)\n\ntype: args: int64_t" },
5892
5892
  {NULL, NULL, 0, NULL}
5893
5893
  };
5894
5894
  #if PY_VERSION_HEX >= 0x03000000