-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added constants XS. Because the number values of these enums may chan…
…ge later. Also haven't testhaven't tested this but it may be faster. WIP #2
- Loading branch information
Showing
5 changed files
with
69 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#include "EXTERN.h" | ||
#include "perl.h" | ||
#include "XSUB.h" | ||
#include "ppport.h" | ||
#include "helper.h" | ||
|
||
#ifndef aTHX_ | ||
#define aTHX_ | ||
#endif | ||
|
||
#include <SDL2/SDL.h> | ||
|
||
MODULE = SDL2::Constants PACKAGE = SDL2::Constants PREFIX = constant_ | ||
|
||
|
||
int | ||
constant_SDL_TEXTUREACCESS_STATIC ( ) | ||
CODE: | ||
RETVAL = SDL_TEXTUREACCESS_STATIC; | ||
OUTPUT: | ||
RETVAL | ||
|
||
int | ||
constant_SDL_TEXTUREACCESS_STREAMING ( ) | ||
CODE: | ||
RETVAL = SDL_TEXTUREACCESS_STREAMING; | ||
OUTPUT: | ||
RETVAL | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters