A C++ program I'm working on is using lua for configuration. It sets up several lua functions using a hardcoded script:

```
luaL_loadbuffer(pmLuaState, headerscript, strlen(headerscript), "header script");

```

It then loads the configuration lua file (that calls the previously mentioned functions):

```
luaL_loadfile(pmLuaState, filename)

```

Unfortunately, the Lua configuration file uses a global variable named type, so attempting to call the built-in type() function from my headerscript fails with a Lua error:

```
attempt to call global 'type' (a string value)

```

Due to the constraints of my scenario, I am unable to edit the offending config file. I'm wondering if there's a way to explicity state that I want to use the built-in type() function.

I'm new to Lua, so if there's a better way to load in these scripts that will avoid this global hiding issue, I'm open to it (but again, I cannot edit the config script).

Lua version: 5.1.4
['https://Stackoverflow.com/questions/4891251', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/590988/']
Your are missing a dot.

It should be `.GlobalStore` as long as this class resides in the package set in the package attribute on the manifest node.

So it should look like this.

```
<application android:icon="@drawable/icon"
    android:label="@string/app_name"
    android:name=".GlobalStore">

```
```
android:name="GlobalStore"

```

This needs to be the full path including your package. ie

```
android:name="com.example.GlobalStore"

```

or whatever your package name is.