Skip to content

Commit

Permalink
Bump version to 0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
castholm committed May 21, 2024
1 parent ea3affa commit 886782b
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ zigglgen officially supports the following versions of the Zig compiler:

- `0.12.0-dev.3180+83e578a18`/[`2024.3.0-mach`](https://machengine.org/about/nominated-zig/#202410-mach)
- `0.12.0`
- master (last tested with `0.13.0-dev.73+db890dbae`)
- master (last tested with `0.13.0-dev.230+50a141945`)

Older or more recent versions of the compiler are not guaranteed to be compatible.

1\. Run `zig fetch` to add the zigglgen package to your `build.zig.zon` manifest:

```sh
zig fetch https://github.com/castholm/zigglgen/releases/download/v0.2.2/zigglgen.tar.gz --save
zig fetch https://github.com/castholm/zigglgen/releases/download/v0.2.3/zigglgen.tar.gz --save
```

2\. Generate a set of OpenGL bindings in your `build.zig` build script:
Expand Down
4 changes: 2 additions & 2 deletions zigglgen-example/build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
.hash = "1220a72c54b4a3674a1e5a907ac6ea33d1868681f187f5a07f3cfb562ff7cf2c63e0",
},
.zigglgen = .{
.url = "https://github.com/castholm/zigglgen/releases/download/v0.2.2/zigglgen.tar.gz",
.hash = "1220b0b1d61dfe8a244a3928b20cfa596e252656cca90120c26661898986ce3d1f82",
.url = "https://github.com/castholm/zigglgen/releases/download/v0.2.3/zigglgen.tar.gz",
.hash = "1220f4188a5e1bdbb15fd50e9ea322c0721384eeba9bc077e4179b0b0eeaa7fe4ad9",
},
},
.paths = .{
Expand Down
4 changes: 2 additions & 2 deletions zigglgen-example/gles3.zig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! Bindings for OpenGL ES 3.0 generated by zigglgen.

// OpenGL XML API Registry revision: 4265ce1a6e40abdab98f5f2e11365b59f5ef04bc
// zigglgen version: 0.2.2
// OpenGL XML API Registry revision: 3e2c5fa835e72dcbf716d1fba35a75ef05c79129
// zigglgen version: 0.2.3

// Example usage:
//
Expand Down
4 changes: 2 additions & 2 deletions zigglgen/api_registry.zig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This file was generated by 'updateApiRegistry.ps1'.
// OpenGL XML API Registry revision: 4265ce1a6e40abdab98f5f2e11365b59f5ef04bc
// OpenGL XML API Registry revision: 3e2c5fa835e72dcbf716d1fba35a75ef05c79129

pub const revision = "4265ce1a6e40abdab98f5f2e11365b59f5ef04bc";
pub const revision = "3e2c5fa835e72dcbf716d1fba35a75ef05c79129";

pub const Type = struct {
name: Name,
Expand Down
2 changes: 1 addition & 1 deletion zigglgen/build.zig.zon
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.{
.name = "zigglgen",
.version = "0.2.2",
.version = "0.2.3",
.minimum_zig_version = "0.12.0-dev",
.paths = .{
"LICENSE.md",
Expand Down
2 changes: 1 addition & 1 deletion zigglgen/generator.zig
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ fn renderCode(
\\//! Bindings for {[api_pretty]s} {[version_major]d}.{[version_minor]d}{[sp_profile_pretty]s} generated by zigglgen.
\\
\\// OpenGL XML API Registry revision: {[registry_revision]s}
\\// zigglgen version: 0.2.2
\\// zigglgen version: 0.2.3
\\
\\// Example usage:
\\//
Expand Down
2 changes: 1 addition & 1 deletion zigglgen/generator_options.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file was generated by 'updateApiRegistry.ps1'.
// OpenGL XML API Registry revision: 4265ce1a6e40abdab98f5f2e11365b59f5ef04bc
// OpenGL XML API Registry revision: 3e2c5fa835e72dcbf716d1fba35a75ef05c79129

pub const Api = enum { gl, gles, glsc };

Expand Down

0 comments on commit 886782b

Please sign in to comment.