Note: these instructions are for pre-Sierra MacOS. Sierra (10.12) and newer users see https://gist.github.com/gravitylow/fb595186ce6068537a6e9da6d8b5b96d by @gravitylow
If you are getting this in gdb on OSX while trying to run a program:
Note: these instructions are for pre-Sierra MacOS. Sierra (10.12) and newer users see https://gist.github.com/gravitylow/fb595186ce6068537a6e9da6d8b5b96d by @gravitylow
If you are getting this in gdb on OSX while trying to run a program:
| -- perf | |
| local sgmatch = string.gmatch | |
| -- init Simple and set routes | |
| local Simple = {} | |
| function Simple:new(request) | |
| local instance = { | |
| route_name = 'Simple', |
| -- copy.lua | |
| -- | |
| -- Lua functions of varying complexity to deep copy tables. | |
| -- | |
| -- 1. The Problem. | |
| -- | |
| -- Here's an example to see why deep copies are useful. Let's | |
| -- say function f receives a table parameter t, and it wants to |