vitasdk
Documentation of the vitasdk
shacccg.h File Reference
#include <vitasdk/build_utils.h>
#include <psp2/types.h>

Go to the source code of this file.

Data Structures

struct  SceShaccCgSourceFile
 
struct  SceShaccCgSourceLocation
 
struct  SceShaccCgCallbackList
 
struct  SceShaccCgCompileOptions
 
struct  SceShaccCgDiagnosticMessage
 
struct  SceShaccCgCompileOutput
 

Typedefs

typedef void const * SceShaccCgParameter
 
typedef SceShaccCgSourceFile *(* SceShaccCgCallbackOpenFile) (const char *fileName, const SceShaccCgSourceLocation *includedFrom, const SceShaccCgCompileOptions *compileOptions, const char **errorString)
 
typedef void(* SceShaccCgCallbackReleaseFile) (const SceShaccCgSourceFile *file, const SceShaccCgCompileOptions *compileOptions)
 
typedef const char *(* SceShaccCgCallbackLocateFile) (const char *fileName, const SceShaccCgSourceLocation *includedFrom, SceUInt32 searchPathCount, const char *const *searchPaths, const SceShaccCgCompileOptions *compileOptions, const char **errorString)
 
typedef const char *(* SceShaccCgCallbackAbsolutePath) (const char *fileName, const SceShaccCgSourceLocation *includedFrom, const SceShaccCgCompileOptions *compileOptions)
 
typedef void(* SceShaccCgCallbackReleaseFileName) (const char *fileName, const SceShaccCgCompileOptions *compileOptions)
 
typedef SceInt32(* SceShaccCgCallbackFileDate) (const SceShaccCgSourceFile *file, const SceShaccCgSourceLocation *includedFrom, const SceShaccCgCompileOptions *compileOptions, int64_t *timeLastStatusChange, int64_t *timeLastModified)
 

Enumerations

enum  SceShaccCgDiagnosticLevel { SCE_SHACCCG_DIAGNOSTIC_LEVEL_INFO , SCE_SHACCCG_DIAGNOSTIC_LEVEL_WARNING , SCE_SHACCCG_DIAGNOSTIC_LEVEL_ERROR }
 
enum  SceShaccCgTargetProfile { SCE_SHACCCG_PROFILE_VP , SCE_SHACCCG_PROFILE_FP }
 
enum  SceShaccCgCallbackDefaults { SCE_SHACCCG_SYSTEM_FILES , SCE_SHACCCG_TRIVIAL }
 
enum  SceShaccCgLocale { SCE_SHACCCG_ENGLISH , SCE_SHACCCG_JAPANESE }
 

Functions

 VITASDK_BUILD_ASSERT_EQ (4, SceShaccCgParameter)
 
 VITASDK_BUILD_ASSERT_EQ (0xC, SceShaccCgSourceFile)
 
 VITASDK_BUILD_ASSERT_EQ (0xC, SceShaccCgSourceLocation)
 
 VITASDK_BUILD_ASSERT_EQ (0x18, SceShaccCgCallbackList)
 
 VITASDK_BUILD_ASSERT_EQ (0x68, SceShaccCgCompileOptions)
 
 VITASDK_BUILD_ASSERT_EQ (0x10, SceShaccCgDiagnosticMessage)
 
 VITASDK_BUILD_ASSERT_EQ (0x10, SceShaccCgCompileOutput)
 
int sceShaccCgInitializeCompileOptions (SceShaccCgCompileOptions *options)
 
SceShaccCgCompileOutput const * sceShaccCgCompileProgram (const SceShaccCgCompileOptions *options, const SceShaccCgCallbackList *callbacks, int unk)
 
int sceShaccCgSetDefaultAllocator (void *(*malloc_cb)(unsigned int), void(*free_cb)(void *))
 
void sceShaccCgInitializeCallbackList (SceShaccCgCallbackList *callbacks, SceShaccCgCallbackDefaults defaults)
 
void sceShaccCgDestroyCompileOutput (SceShaccCgCompileOutput const *output)
 
void sceShaccCgReleaseCompiler (void)
 
const char * sceShaccCgGetVersionString (void)