AltraMayor / AltraMayor/gatekeeper

An issue on calling luaL_get_ctypeid()

オープン
#144 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
question
主要言語
C
スター
1.6k
フォーク
252
PR マージ指標
30日以内にマージされた PR はありません

説明

In the pull request #89 , when I tried to call ``luaL_get_ctypeid()`` on ``struct gk_config *`` and ``struct gk_fib_dump_entry *``, both return values are the same (i.e., 166) even they are called at the same Lua state. However, they are expected to be different, but it is up to the LuaJIT to decide since ``luaL_get_ctypeid()`` literally calls LuaJIT to find out. The relevance of using the same Lua state is that these IDs are generated dynamically, so each added type will create a new ID.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。