[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Integers
- From: Mark Allen <MAllen@...>
- Date: Thu, 28 Sep 2000 14:10:04 +0100
I'm fairly new to Lua. I've managed to embed it within a game engine and
also have an API available to it so that the scripts can be used to control
high level aspects of the game. However I would like to add a new data
type: integer, to the language. I have converted the number type from
double to float for now, however I still think that a new type that is
basically a C int is required for my purposes.
Has anybody done this in the past? How's the best way to go about it and
are there any pitfalls?