PSP2SDK  dirty-f9e4f2d
The free SDK for PSP2
Data Structures | Defines | Typedefs
include/psp2/moduleinfo.h File Reference

Header file related to module information definitions. More...

#include <psp2/types.h>
#include <stddef.h>
#include <stdint.h>
Include dependency graph for moduleinfo.h:

Go to the source code of this file.

Data Structures

struct  _sceModuleInfo
 Module Information. More...

Defines

#define _PSP2_MODULE_INFO_(attribute, version, module_name)
#define PSP2_MODULE_INFO   _PSP2_MODULE_INFO_

Typedefs

typedef const _sceModuleInfo SceModuleInfo
 The type of structure stored in .sceModuleInfo.rodata section.

Detailed Description

Header file related to module information definitions.

Copyright (C) 2015 PSP2SDK Project

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.


Define Documentation

#define _PSP2_MODULE_INFO_ (   attribute,
  version,
  module_name 
)
Value:
__asm__ (".section .sceLib.stub, \"a\", %progbits;");   \
    SceModuleInfo module_info   \
        __attribute__((section(".sceModuleInfo.rodata"), used)) \
            = { attribute, version, module_name };

Define module information

Parameters:
attributeAttribute
versionVersion
module_nameName
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines