Share Pastebin
Guest
Public paste!

exports.exp

By: a guest | Mar 20th, 2010 | Syntax: C | Size: 0.93 KB | Hits: 103 | Expires: Never
Copy text to clipboard
  1. # Define the exports for the prx
  2. PSP_BEGIN_EXPORTS
  3.  
  4.         PSP_EXPORT_START(syslib, 0, 0x8000)
  5.                 PSP_EXPORT_FUNC(module_start)
  6.                 PSP_EXPORT_VAR(module_info)
  7.         PSP_EXPORT_END
  8.  
  9.         PSP_EXPORT_START(xOS_LuaEngine, 0, 0x1001)
  10.                 # 1 function
  11.                 PSP_EXPORT_FUNC_HASH(luaExecuteScript)
  12.                 # 14 functions
  13.                 PSP_EXPORT_FUNC_HASH(luaGetVariableInteger)
  14.                 PSP_EXPORT_FUNC_HASH(luaGetVariableString)
  15.                 PSP_EXPORT_FUNC_HASH(luaGetTableInteger)
  16.                 PSP_EXPORT_FUNC_HASH(luaGetTableString)
  17.                 PSP_EXPORT_FUNC_HASH(luaGetTableIntegerByIndex)
  18.                 PSP_EXPORT_FUNC_HASH(luaGetTableStringByIndex)
  19.                 PSP_EXPORT_FUNC_HASH(luaGetDoubleTableIntegerByIndex)
  20.                 PSP_EXPORT_FUNC_HASH(luaGlobalOpenTable)
  21.                 PSP_EXPORT_FUNC_HASH(luaOpenTable)
  22.                 PSP_EXPORT_FUNC_HASH(luaOpenTableByIndex)
  23.                 PSP_EXPORT_FUNC_HASH(luaGetInteger)
  24.                 PSP_EXPORT_FUNC_HASH(luaGetString)
  25.                 PSP_EXPORT_FUNC_HASH(luaCloseTable)
  26.                 PSP_EXPORT_FUNC_HASH(luaGlobalCloseTable)
  27.         PSP_EXPORT_END
  28. PSP_END_EXPORTS