Skip to content

issues Search Results · repo:natecraddock/ziglua language:Zig

Filter by

0 results
 (65 ms)

0 results

innatecraddock/ziglua (press backspace or delete to remove)

follow up from #136: testing locally, with zig fetch, the package now is named lua_wrapper in build.zig.zon dependencies by default. how do we want to proceed with the module that we export? ziglua is, ...
  • robbielyman
  • 6
  • Opened 
    4 days ago
  • #139

Currently trying to add the library and building results in this error. luajit.zig:14:31: error: type bool has no members .unwind_tables = .sync, after removing the .unwind_tables line ...
  • woshiwuja
  • 5
  • Opened 
    on Feb 6
  • #132

C:\Users\janne\dev\ziglua zig build C:\Users\janne\dev\ziglua\build\luajit.zig:166:8: error: no field or member function named defineCMacro in Build.Step.Compile lib.defineCMacro( LUAJIT_UNWIND_EXTERNAL ...
  • nurpax
  • 1
  • Opened 
    on Jan 3
  • #130

There seems to be a mismatch in the lua 5.4 versioning between the build and the zon. https://github.com/natecraddock/ziglua/blob/90dab7e72173709353dcaaa6d911bed7655c030d/build/lua.zig#L16-L37 vs https://github.com/natecraddock/ziglua/blob/90dab7e72173709353dcaaa6d911bed7655c030d/build.zig.zon#L26-L29 ...
  • mosesprime
  • 1
  • Opened 
    on Dec 21, 2024
  • #128

Here s my PR: #119 I heard that apparently zig was going to change the behaviour of anonymous structs, so the trick that the build scripts use to unify addSharedLibrary and addStaticLibrary will NOT work ...
  • darltrash
  • Opened 
    on Nov 9, 2024
  • #120

https://github.com/ziglang/zig/blob/2d888a8e639856e8cb6e4c6f9e6a27647b464952/lib/init/build.zig.zon#L2-L9 // This is the default name used by packages depending on this one. For // example, when ...
  • natecraddock
  • 4
  • Opened 
    on Oct 23, 2024
  • #117

I have not been able to use Lua pushFString with non-comptime arguments. For example, this works: fn addLuaPath(lua: *Lua, _: [:0]const u8) !void { _ = lua.pushFString( %s , .{ some_path }); ...
  • nurpax
  • 3
  • Opened 
    on Oct 21, 2024
  • #116

Just noting this here before I forget: Some functions in the Ziglua API have a doc string that forgets to mention that the function pops from the stack. IMO this information is pretty useful when developing ...
  • nurpax
  • 2
  • Opened 
    on Oct 20, 2024
  • #115

https://github.com/natecraddock/ziglua/blob/a3e518f950a89c24ca1b827d7513411acfb230f8/examples/zig-fn.zig#L46 Shouldn t the stack index be -1 instead of 1 here to get the return value of the previously ...
  • nurpax
  • 1
  • Opened 
    on Oct 20, 2024
  • #114

pub fn pushString(lua: *Lua, str: []const u8) [:0]const u8. The docs say The string can contain any binary data, including embedded zeros. This should probably only return a []const u8
  • natecraddock
  • 2
  • Opened 
    on Oct 19, 2024
  • #113
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub