mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-26 17:52:40 +00:00
Python: remove ctypes dependency in runtime library.
This commit is contained in:
@@ -12,8 +12,6 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import ctypes
|
|
||||||
|
|
||||||
from . import number_types as N
|
from . import number_types as N
|
||||||
from . import packer
|
from . import packer
|
||||||
from .compat import memoryview_type
|
from .compat import memoryview_type
|
||||||
|
|||||||
@@ -12,10 +12,8 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import ctypes
|
|
||||||
import collections
|
import collections
|
||||||
import struct
|
import struct
|
||||||
from ctypes import sizeof
|
|
||||||
|
|
||||||
from . import packer
|
from . import packer
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user