Skip to content

use type name as registry key, instead of &type_info#46

Open
Habbie wants to merge 1 commit intoahupowerdns:masterfrom
PowerDNS:registry-type-names
Open

use type name as registry key, instead of &type_info#46
Habbie wants to merge 1 commit intoahupowerdns:masterfrom
PowerDNS:registry-type-names

Conversation

@Habbie
Copy link
Collaborator

@Habbie Habbie commented Apr 19, 2018

This avoids the usage of lightuserdata, which in turn avoids crashes in LuaJIT on many Linux/ARM64 setups.

@@ -1609,7 +1609,7 @@ class LuaContext {

// the _typeid index of the metatable will store the type_info*
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// the _typeid index of the metatable will store the type_info*
// the _typeid index of the metatable will store the name of the type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant