lua-users home
lua-l archive

Search lua-l

This index contains 143,615 documents and 1,774,615 keywords. Last update on 2023-03-09 .

Query: [How to search]

Display: Description: Sort by:

Results:

References: [ fixed: 3894 ] [ point: 15188 ]

Total 640 documents matching your query.

81. Re: [patch][c++] fix "invalid conversion from ?void*? to ?char*?" (score: 23)
Author: Coda Highland <chighland@...>
Date: Sun, 26 Jun 2016 19:32:14 -0700
This is a .cc file, which means it's compiled as C++ code, which means whether or not it's valid C is irrelevant. /s/ Adam
82. Re: [patch][c++] fix "invalid conversion from ?void*? to ?char*?" (score: 23)
Author: Sean Conner <sean@...>
Date: Sun, 26 Jun 2016 17:11:42 -0400
It was thus said that the Great Irfan Adilovic once stated: But it *is* valid C code. In C, it's recommended *not* to cast the result of malloc() as it can hide errors (mainly missing declarations--i
83. Re: [patch][c++] fix "invalid conversion from ?void*? to ?char*?" (score: 23)
Author: Roberto Ierusalimschy <roberto@...>
Date: Sun, 26 Jun 2016 16:16:46 -0300
Thanks. -- Roberto
84. [patch][c++] fix "invalid conversion from ?void*? to ?char*?" (score: 23)
Author: Irfan Adilovic <irfanadilovic@...>
Date: Sun, 26 Jun 2016 16:11:12 +0000
In the 5.3.3 release, lua/lstrlib.cc:936:     char *ppoint = memchr(buff, point, nb); is not valid c++ code. This should be fixed with a c-style cast: @@ -935,3 +935,3 @@ static void checkdp (char *b
85. Re: Why do some math functions return -0 (score: 23)
Author: David Kastrup <dak@...>
Date: Mon, 20 Sep 2010 09:29:38 +0200
Which is probably why you didn't. And you did not realize that in all the presented code, there was _no_ way that would _ever_ generate -0 unless there was a processing error involved. The specified
86. Re: [ANN] vstruct - 1.0 beta 2 (score: 23)
Author: Asko Kauppi <askok@...>
Date: Fri, 25 Jul 2008 19:42:07 +0300
To any ANN: posters (including myself). Please have the first chapter describe "what" your product/solution/ etc. is about. Without needing to press a URL. -asko Ben Kelly kirjoitti 25.7.2008 kello 1
87. [ANN] vstruct - 1.0 beta 2 (score: 23)
Author: Ben Kelly <ranavin@...>
Date: Thu, 24 Jul 2008 18:19:15 -0400
Wow, it's been a while. Got distracted by various things, but now beta 2 is here. Comments, criticisms, bug reports, feature requests, and patches are welcome. What is it? A library for packing and u
88. Re: Lanes 2008 revise (score: 23)
Author: "Alexander Gladysh" <agladysh@...>
Date: Sun, 20 Jul 2008 01:39:07 +0400
Oh! My apologies, I've accidentally looked into older version Lanes archive. :-( BTW, while we're on the docs: I'd like to see short thruoughtly commented specific examples in each section -- at leas
89. Re: Possible improvements to the LNUM patch? (score: 23)
Author: Asko Kauppi <askok@...>
Date: Tue, 15 Apr 2008 22:30:47 +0300
Adding limited DEC support to LNUM would not be a very big endeavour, actually. Unlike the original idea (1-2 years back) to do all Lua numbers using fixed point arithmetic, DEC mode could simply use
90. Re: checking for Not a Number? (score: 23)
Author: Glenn Maynard <glenn@...>
Date: Wed, 27 Dec 2006 17:44:33 -0500
... on PC hardware. Embedded- and semi-embedded (eg. gaming consoles) hardware is not always endowed with hardware doubles. (I'm sure the new generation of gaming consoles are, but I've been in PC- l
91. Re: Porting Instructions (score: 23)
Author: "Daniel Collins" <daniel.collins@...>
Date: Sat, 1 Jul 2006 00:35:19 +0930
You are correct. I over generalised and did not mean to imply some problem on the part of the lua code. Most of the functions I converted to macros were for string functions. And you are also correc
92. Re: Packaging and importing (score: 23)
Author: Wim Couwenberg <w.couwenberg@...>
Date: Mon, 15 Aug 2005 17:28:25 +0200
I've dug in to the proposed require implementation since we needed it for deployment of our app. I have some remarks (aka questions :-) ). 1. For developing extension modules in C we apply a scheme
93. Prototype-based objects (score: 23)
Author: Reuben Thomas <rrt@...>
Date: Fri, 4 Jan 2002 14:36:10 +0000 (GMT)
I have just started OO programming in Lua, and, having had a look at some of the object implementations, spotted the obvious oddity: although Lua is a dynamic language, they were all class-based. I w
94. Re: How to comprehend that Lua automatically removes whatever is in the stack below the results after the function returned? (score: 21)
Author: bel <bel2125@...>
Date: Sun, 27 Sep 2020 19:26:07 +0200
  a pre-known max Not exactly. The concept is to allow the Lua interpreter to allocate and free all objects, as it always does, but to not pass this memory dynamics to the operating system or glibc.
95. Re: warning in mingw [Was: [ANN] Lua 5.4.0 (rc1) now available] (score: 21)
Author: Philippe Verdy <verdyp@...>
Date: Sat, 25 Apr 2020 06:29:28 +0200
On Fri, Apr 24, 2020 at 02:07:24PM -0300, Roberto Ierusalimschy wrote: > From the point of view of the standard, is all the same. As long as you and bandwidth of buses by which a CPU may interconnect
96. Re: Announce: Darwin module system (score: 21)
Author: Jim Jennings <jennings.durham.nc+lua@...>
Date: Wed, 9 Sep 2009 20:04:37 -0400
That last point is not accurate. Modules that use the "module" function don't have to use a fixed name when calling it. You can simply forward the name passed to the module loader to the "module" fun
97. Re: LuaJIT: is Coco a requirement? (score: 21)
Author: Mike Pall <mikelu-0710@...>
Date: Thu, 25 Oct 2007 21:04:02 +0200
Hi, (multi-reply follows) There have been various requests for ARM, x64, PPC and MIPS ports. LuaJIT 2.x will be easier to port, but this is still a large undertaking. Won't happen before the x86 vers
98. Re: Integer patch for Lua 5.1 final (score: 21)
Author: "Daniel Collins" <daniel.collins@...>
Date: Mon, 27 Feb 2006 11:14:29 +1030
Hmm, ok. Looks like I am about to write a fixed point patch for lua then. - DC
99. Re: Integer patch for Lua 5.1 final (score: 21)
Author: "Adam D. Moss" <adam@...>
Date: Sun, 26 Feb 2006 23:50:24 +0000
The integer patch (assuming we're talking about the same thing) isn't a fixed-point patch, I believe; instead it makes the VM use integer maths for integer values where feasible, deferring to floatin
100. Lua on mobile phone (score: 21)
Author: "Daniel Collins" <daniel.collins@...>
Date: Mon, 27 Feb 2006 09:38:50 +1030
Hi, I am considering using Lua as an embedded scripting engine for a mobile phone game. The game backend will be coded in C, with Lua providing the ability to download games and other content as requ

Search by Namazu v2.0.21