Loads a buffer as a Lua chunk. This function uses lua_load to load the chunk in the buffer pointed to by buffer with size size.
This function returns the same results as lua_load. name is the chunk name, used for debug information and error messages. The string mode works as in function lua_load.