include/game/stubs.h
The stub calls into the game module, as the other modules' code calls them.
Included by battle_internal.h, field_engine_encounter.c, field_engine_internal.h, lucky_dice.c, lucky_wheels.c, script_commands_djinni.c, script_commands_field_psynergy_state.c, main_routine.c, menu_internal.h, shop_internal.h, screens_save.c and window_internal.h.
Functions
| Name | Description | |
|---|---|---|
void | gmUnitLevelUpToStub (Sint32 unitId, Sint32 targetLevel) | Levels character unitId up one level at a time until targetLevel, then recomputes its stats. |
void | gmUnitLearnPsynergyStub (Sint32 owner, Sint32 ability) | Teaches character owner ability ability for good (or makes a class action permanent by clearing its marks), then rebuilds its list. |
Sint32 | gmInventoryEquipStub (Sint32 unitId, Sint32 slot) | Equips the item in slot, clearing the equipped bit of the item of the same type it replaces. |
Sint32 | gmInventoryGetEquippedItemStub (struct UNIT *unit, Sint32 type) | Returns the id of the unit's equipped item of type, or 0. |
Sint32 | gmDjinnCanSetStub (Sint32 unitId, Sint32 element, Sint32 djinnIndex) | Returns 1 when the unit holds the Djinni and it can be set. |
Sint32 | gmInventoryFindEquippedStub (Sint32 unitId, Sint32 type) | Returns the slot of the equipped item of type, or -1. |
Sint32 | gmDjinnIsSetStub (Sint32 unitId, Sint32 element, Sint32 djinnIndex) | Returns 1 when the Djinni is set on the unit. |
Uint32 * | gmDjinnRecoveryAddStandbyStub (Uint32 unitId, Uint32 element, Uint32 djinnIndex) | Puts a unit's Djinni at the end of its side's list on standby. |
Sint32 | gmUnitGetAttackElementStub (Sint32 unitId) | Returns the element the unit attacks with (ELEMENT_NONE for none). |
Sint32 | gmEquipmentGetUnleashRateBonusStub (struct UNIT *unit) | Returns the unleash chance, in percent, that a unit's equipment adds (EQUIP_EFFECT_ADD_UNLEASH_CHANCE). |
Sint32 | gmPartyInventoryAddStub (Sint32 itemId) | Gives the item to the first party member with room, and returns who took it, or -1. |
const struct ENEMY_DEFINITION * | gmEnemyGetDefinitionStub (Sint32 enemyId) | Returns the definition of enemy enemyId. |
Sint32 | gmSummonListLearnedStub (Uint8 *output) | Writes the summons the party can call to output, in menu order, ending with SUMMON_END, and returns how many. |
Uint32 | gmDjinnPutOnStandbyStub (Sint32 unitId, Sint32 element, Sint32 djinnIndex) | Takes a set Djinni off the unit and works out its class again. |
Sint32 | gmPartyGetAverageLevelStub (void) | Returns the average level of the party members, rounded down (0 with no party members). |
Sint32 | gmItemAdjustRareItemStockStub (Sint32 itemId, Sint32 delta) | Adds delta to how many of a rare item the shops may sell, and returns the new count. |
Sint32 | gmInventoryCountItemStub (Sint32 unitId, Sint32 itemId) | Counts matching nonstackable items, or the quantity in the first matching stack. |
void | gmInventoryDiscardStub (Sint32 unitId, Sint32 slot) | Removes one item as gmInventoryRemove does, and puts a rare item back into circulation (its counter goes up by one) for the shops to sell. |
Sint32 | gmUnitRefreshPsynergyStub (Sint32 unitId) | Works out a character's class, Psynergy and base elements again. |
Sint32 | gmPartyInventoryCountItemStub (Sint32 itemId) | Counts itemId across the party. |
void | gmPartyInventoryRemoveStub (Sint32 itemId) | Removes one itemId from whoever carries it first. |
Sint32 | gmDjinnGiveToPartyStub (Sint32 element, Sint32 djinn) | Gives a newly found Djinni to the party member holding the fewest Djinn who has room, on standby. |
Sint32 | gmUnitGetElementLevelStub (Sint32 unitId, Sint32 element) | Returns how strongly a unit is attuned to element, its whole element level (a tenth of what gmUnitGetElementLevels counts), and 0 for ELEMENT_NONE. |
Sint32 | gmItemIsCompatibleWithUnitStub (Sint32 unit, Sint32 item) | Returns 1 for an item that is not a weapon or armor, and for those whether the character can equip it. |
Sint32 | gmInventoryFindStub (Sint32 unitId, Sint32 itemId) | Returns the first slot holding itemId (any quantity, equipped or not), or -1. |
Sint32 | gmPartyAdjustShopCreditStub (Sint32 amount) | Adds amount to the shop credit purchases build up and Game Tickets spend, kept between 0 and COIN_MAX, and returns the new credit. |
void | gmInventoryRepairStub (Sint32 unitId, Sint32 slot) | Clears the broken mark of the item in slot. |
void | gmPartyAdjustShopGiftsStub (Sint32 amount) | Adds amount to the count of Game Tickets given, which stops at SHOP_GIFTS_MAX. |
Sint32 | gmItemGetEquipmentGroupStub (Sint32 item) | Returns an item's equipment group from its type. |
Sint32 | gmInventoryCountStub (Sint32 unitId) | Counts filled inventory slots up to the first empty slot. |
Uint32 | gmBuildStampGetTimeStub () | Encodes the build stamp's time, which a new game takes as its start stamp and the file list compares saves with. |
void | gmMainRoutineStateInitDefaultsStub (void) | Starts a new game's state. |
Sint32 | gmDjinnGetAbilityIdStub (Sint32 element, Sint32 index) | Returns the ability the Djinni performs when it is unleashed. |
Sint32 | gmInventoryGetQuantityStub (Sint32 unitId, Sint32 slot) | Returns how many of the item in slot the unit carries (0 for an empty slot). |
Sint32 | gmPartyFindOwnerWithActionStub (Sint32 action) | Returns the first party member who knows Psynergy action, or -1. |
Sint32 | gmInventoryCheckDiscardStub (Sint32 unitId, Sint32 slot) | Returns 0 when the item in slot may be dropped, or else why not. |
Sint32 | gmInventoryCheckUnequipStub (Sint32 unitId, Sint32 slot) | Returns whether the item in slot may be taken off. |
void | gmUnitSetPpStub (struct UNIT *unit, Sint32 pp) | Sets the unit's PP, clamped to 0..ppMax, and recomputes its HP and PP gauges. |
void | gmSummonLearnStub (Sint32 summonId) | Lets the party call summon summonId from now on. |
Sint32 | gmPartyGetPpRatioStub (void) | Returns the party's PP over its maximum PP, in 16.16; 0 with no members. |
Sint32 | gmUnitAddHpStub (Sint32 owner, Sint32 delta) | Adds delta to the unit's HP, kept between 0 and its maximum, updates its gauges and returns the new HP. |
const struct SUMMON_DEFINITION * | gmSummonDefinitionGetNearStub (Sint32 summonId) | Returns a summon's definition, or NULL past the last. |
struct ABILITY_DEFINITION * | gmAbilityGetDefinitionStub (Sint32 abilityId) | Returns the definition of an ability by its low 14 bits, the first for an id past the table (gmAbilityGetDefinition); every module reads abilities so. |
void | gmUnitRecalculateGaugesStub (Sint32 unitId) | Recomputes the unit's HP and PP gauges from its current HP and PP. |
Sint32 | gmBattleRandomStub (void) | Returns the battle's next random number, bits 8 to 23 of its new seed. |
Sint32 | gmBattleIsReviveEffectStub (Sint32 effect) | Returns 1 for the revive effects, which only work on a downed unit. |
Sint32 | gmUnitTryLevelUpStub (Sint32 unitId, Sint16 *gains) | Levels the unit up once if its experience reaches the next level, filling gains, a LEVEL_UP_RESULT read as halfwords (LEVEL_UP_GAIN); its address, or 0 when the unit did not level up. |
Description
The stub calls into the game module, as the other modules' code calls them.
Functions in detail
gmUnitLevelUpToStub
void gmUnitLevelUpToStub(Sint32 unitId, Sint32 targetLevel)
Levels character unitId up one level at a time until targetLevel, then recomputes its stats.
Referenced by btDebugParamSetLoad().
Definition at line 14 of file stubs.h.
gmUnitLearnPsynergyStub
void gmUnitLearnPsynergyStub(Sint32 owner, Sint32 ability)
Teaches character owner ability ability for good (or makes a class action
permanent by clearing its marks), then rebuilds its list.
Referenced by btDebugParamSetLoad() and fdPartyLearnAbility().
Definition at line 17 of file stubs.h.
gmInventoryGetEquippedItemStub
Sint32 gmInventoryGetEquippedItemStub(struct UNIT *unit, Sint32 type)
Returns the id of the unit's equipped item of type, or 0.
Referenced by btActionRunBuild() and btObjectMake().
Definition at line 22 of file stubs.h.
gmDjinnCanSetStub
Sint32 gmDjinnCanSetStub(Sint32 unitId, Sint32 element, Sint32 djinnIndex)
Returns 1 when the unit holds the Djinni and it can be set.
Referenced by btActionRunBuild(), btDjinnRecoveryReconcile(), btUnitDrainDjinn() and mnDjinnMenuGetEntryState().
Definition at line 24 of file stubs.h.
gmInventoryFindEquippedStub
Sint32 gmInventoryFindEquippedStub(Sint32 unitId, Sint32 type)
Returns the slot of the equipped item of type, or -1.
Referenced by btUnitGetWeaponSprite(), mnShopBuyDone(), mnShopConfirmEquip(), mnShopDrawEquipComparison() and mnShopRepairItem().
Definition at line 26 of file stubs.h.
gmDjinnIsSetStub
Sint32 gmDjinnIsSetStub(Sint32 unitId, Sint32 element, Sint32 djinnIndex)
Returns 1 when the Djinni is set on the unit.
Referenced by btActionRunBuild(), btUnitDrainDjinn(), mnBattleCollectPartyCommands(), mnBattleDjinnMenuShowChangePreview() and mnDjinnMenuGetEntryState().
Definition at line 28 of file stubs.h.
gmDjinnRecoveryAddStandbyStub
Uint32 * gmDjinnRecoveryAddStandbyStub(Uint32 unitId, Uint32 element, Uint32 djinnIndex)
Puts a unit's Djinni at the end of its side's list on standby.
Referenced by btActionRunBuild(), btDjinnRecoveryReconcile(), btUnitDrainDjinn(), mnDjinnMenuRunScreen() and mnDjinnMenuSelectDjinn().
Definition at line 30 of file stubs.h.
gmUnitGetAttackElementStub
Sint32 gmUnitGetAttackElementStub(Sint32 unitId)
Returns the element the unit attacks with (ELEMENT_NONE for none).
Referenced by btActionRunBuild().
Definition at line 33 of file stubs.h.
gmEquipmentGetUnleashRateBonusStub
Sint32 gmEquipmentGetUnleashRateBonusStub(struct UNIT *unit)
Returns the unleash chance, in percent, that a unit's equipment adds
(EQUIP_EFFECT_ADD_UNLEASH_CHANCE).
Referenced by btActionRunBuild().
Definition at line 36 of file stubs.h.
gmPartyInventoryAddStub
Sint32 gmPartyInventoryAddStub(Sint32 itemId)
Gives the item to the first party member with room, and returns who took it, or -1.
Referenced by btAwardSpoils(), fdPartyInventoryGiveItem(), fdTalkToActor() and mnDebugWarpChampa2().
Definition at line 39 of file stubs.h.
gmEnemyGetDefinitionStub
const struct ENEMY_DEFINITION *gmEnemyGetDefinitionStub(Sint32 enemyId)
Returns the definition of enemy enemyId.
Referenced by btAIChooseAction(), btAIChooseTarget(), btEnemyRecordDefeat() and btFormationAverageLevel().
Definition at line 41 of file stubs.h.
gmSummonListLearnedStub
Sint32 gmSummonListLearnedStub(Uint8 *output)
Writes the summons the party can call to output, in menu order, ending with
SUMMON_END, and returns how many.
Referenced by btAIChooseAction() and mnBattleSummonMenuRun().
Definition at line 44 of file stubs.h.
gmDjinnPutOnStandbyStub
Uint32 gmDjinnPutOnStandbyStub(Sint32 unitId, Sint32 element, Sint32 djinnIndex)
Takes a set Djinni off the unit and works out its class again.
Referenced by btUnitDrainDjinn(), btUnitProcessActionEnd(), mnBattleDjinnMenuShowChangePreview(), mnDjinnMenuDrawStatPreview(), mnDjinnMenuRunPreview(), mnDjinnMenuRunScreen() and mnDjinnMenuSelectDjinn().
Definition at line 47 of file stubs.h.
gmPartyGetAverageLevelStub
Sint32 gmPartyGetAverageLevelStub(void)
Returns the average level of the party members, rounded down (0 with no party members).
Referenced by fdEncounterCountStepsAndSelectFormation() and fdLuckyDiceRun().
Definition at line 51 of file stubs.h.
gmItemAdjustRareItemStockStub
Sint32 gmItemAdjustRareItemStockStub(Sint32 itemId, Sint32 delta)
Adds delta to how many of a rare item the shops may sell, and returns the new count.
Referenced by fdPartyInventoryGiveItem(), mnItemMenuRunCommands(), mnShopListAvailableArtifacts(), mnShopSelectBuy(), mnShopSelectBuyCount() and mnShopStockAddArtifacts().
Definition at line 54 of file stubs.h.
gmInventoryCountItemStub
Sint32 gmInventoryCountItemStub(Sint32 unitId, Sint32 itemId)
Counts matching nonstackable items, or the quantity in the first matching stack.
Referenced by fdPartyInventoryGiveItem().
Definition at line 57 of file stubs.h.
gmInventoryDiscardStub
void gmInventoryDiscardStub(Sint32 unitId, Sint32 slot)
Removes one item as gmInventoryRemove does, and puts a rare item back into
circulation (its counter goes up by one) for the shops to sell.
Referenced by fdPartyInventoryGiveItem() and mnShopSellItem().
Definition at line 60 of file stubs.h.
gmUnitRefreshPsynergyStub
Sint32 gmUnitRefreshPsynergyStub(Sint32 unitId)
Works out a character's class, Psynergy and base elements again.
Referenced by fdPartyInventoryGiveItem(), mnItemMenuConfirmEquip(), mnItemMenuRunCommands() and mnShopSellItem().
Definition at line 63 of file stubs.h.
gmPartyInventoryCountItemStub
Sint32 gmPartyInventoryCountItemStub(Sint32 itemId)
Counts itemId across the party.
Referenced by fdLuckyWheelsRun(), fdLuckyWheelsUpdate() and mnShopSelectBuy().
Definition at line 65 of file stubs.h.
gmPartyInventoryRemoveStub
void gmPartyInventoryRemoveStub(Sint32 itemId)
Removes one itemId from whoever carries it first.
Referenced by fdLuckyWheelsUpdate() and mnItemRemoveFromInventory().
Definition at line 67 of file stubs.h.
gmDjinnGiveToPartyStub
Sint32 gmDjinnGiveToPartyStub(Sint32 element, Sint32 djinn)
Gives a newly found Djinni to the party member holding the fewest Djinn who has room, on standby.
Referenced by fdDjinnJoinParty().
Definition at line 70 of file stubs.h.
gmUnitGetElementLevelStub
Sint32 gmUnitGetElementLevelStub(Sint32 unitId, Sint32 element)
Returns how strongly a unit is attuned to element, its whole element level
(a tenth of what gmUnitGetElementLevels counts), and 0 for ELEMENT_NONE.
Referenced by mnBattleStatusScreenRun() and mnStatusScreenDrawStatusPage().
Definition at line 73 of file stubs.h.
gmItemIsCompatibleWithUnitStub
Sint32 gmItemIsCompatibleWithUnitStub(Sint32 unit, Sint32 item)
Returns 1 for an item that is not a weapon or armor, and for those whether the character can equip it.
Referenced by mnShopDrawParty() and mnShopSelectBuy().
Definition at line 76 of file stubs.h.
gmInventoryFindStub
Sint32 gmInventoryFindStub(Sint32 unitId, Sint32 itemId)
Returns the first slot holding itemId (any quantity, equipped or not), or
-1.
Referenced by mnShopDrawCarriedItem() and mnShopSelectBuyCount().
Definition at line 79 of file stubs.h.
gmPartyAdjustShopCreditStub
Sint32 gmPartyAdjustShopCreditStub(Sint32 amount)
Adds amount to the shop credit purchases build up and Game Tickets spend,
kept between 0 and COIN_MAX, and returns the new credit.
Referenced by mnShopBuyDone() and mnShopGiveGameTicket().
Definition at line 82 of file stubs.h.
gmInventoryRepairStub
void gmInventoryRepairStub(Sint32 unitId, Sint32 slot)
Clears the broken mark of the item in slot.
Referenced by mnShopRepairItem().
Definition at line 84 of file stubs.h.
gmPartyAdjustShopGiftsStub
void gmPartyAdjustShopGiftsStub(Sint32 amount)
Adds amount to the count of Game Tickets given, which stops at
SHOP_GIFTS_MAX.
Referenced by mnShopGiveGameTicket().
Definition at line 87 of file stubs.h.
gmItemGetEquipmentGroupStub
Sint32 gmItemGetEquipmentGroupStub(Sint32 item)
Returns an item's equipment group from its type.
Referenced by mnShopListAvailableArtifacts() and mnShopSelectBuy().
Definition at line 89 of file stubs.h.
gmInventoryCountStub
Sint32 gmInventoryCountStub(Sint32 unitId)
Counts filled inventory slots up to the first empty slot.
Referenced by mnItemPickerRun(), mnItemPickerSelectItem(), mnShopChooseMember(), mnShopDrawMemberItems(), mnShopGiveGameTicket(), mnShopSelectBuy() and mnShopSelectSell().
Definition at line 91 of file stubs.h.
gmBuildStampGetTimeStub
Uint32 gmBuildStampGetTimeStub()
Encodes the build stamp's time, which a new game takes as its start stamp and the file list compares saves with. Declared with no prototype, as in The Broken Seal: the save passes it a 0 it does not read, and the file list passes nothing.
Referenced by mnFileListSelectFile() and mnSaveBuildFileSummary().
Definition at line 97 of file stubs.h.
gmMainRoutineStateInitDefaultsStub
void gmMainRoutineStateInitDefaultsStub(void)
Starts a new game's state.
Referenced by btDebugBattleRunMenu() and gmMainRoutineRun().
Definition at line 99 of file stubs.h.
gmDjinnGetAbilityIdStub
Sint32 gmDjinnGetAbilityIdStub(Sint32 element, Sint32 index)
Returns the ability the Djinni performs when it is unleashed.
Referenced by btActionOrderSort(), btActionRunBuild() and mnBattleCollectPartyCommands().
Definition at line 101 of file stubs.h.
gmInventoryGetQuantityStub
Sint32 gmInventoryGetQuantityStub(Sint32 unitId, Sint32 slot)
Returns how many of the item in slot the unit carries (0 for an empty
slot).
Referenced by fdPartyInventoryGiveItem() and mnShopSelectSellCount().
Definition at line 104 of file stubs.h.
gmPartyFindOwnerWithActionStub
Sint32 gmPartyFindOwnerWithActionStub(Sint32 action)
Returns the first party member who knows Psynergy action, or -1.
Referenced by fdScriptShowMessageAndOfferScoop(), fdTalkToActor(), fdUpdateHoverReady() and mnDebugShortcutRun().
Definition at line 106 of file stubs.h.
gmInventoryCheckDiscardStub
Sint32 gmInventoryCheckDiscardStub(Sint32 unitId, Sint32 slot)
Returns 0 when the item in slot may be dropped, or else why not.
Referenced by mnItemPickerDrawItem() and mnItemPickerSelectItem().
Definition at line 108 of file stubs.h.
gmInventoryCheckUnequipStub
Sint32 gmInventoryCheckUnequipStub(Sint32 unitId, Sint32 slot)
Returns whether the item in slot may be taken off.
Referenced by mnItemPickerDrawItem() and mnItemPickerSelectItem().
Definition at line 110 of file stubs.h.
gmUnitSetPpStub
void gmUnitSetPpStub(struct UNIT *unit, Sint32 pp)
Sets the unit's PP, clamped to 0..ppMax, and recomputes its HP and PP gauges.
Referenced by btScriptedBattleRestoreUnits().
Definition at line 112 of file stubs.h.
gmSummonLearnStub
void gmSummonLearnStub(Sint32 summonId)
Lets the party call summon summonId from now on.
Referenced by fdTalkToActor().
Definition at line 114 of file stubs.h.
gmPartyGetPpRatioStub
Sint32 gmPartyGetPpRatioStub(void)
Returns the party's PP over its maximum PP, in 16.16; 0 with no members.
Referenced by fdActorFlyOnWorldMap().
Definition at line 116 of file stubs.h.
gmUnitAddHpStub
Sint32 gmUnitAddHpStub(Sint32 owner, Sint32 delta)
Adds delta to the unit's HP, kept between 0 and its maximum, updates its
gauges and returns the new HP.
Referenced by btActionRunBuild(), btProcessTurnEnd(), btUnitProcessActionEnd(), fdPartyAddHp() and fdPartyApplyPoisonDamage().
Definition at line 120 of file stubs.h.
gmSummonDefinitionGetNearStub
const struct SUMMON_DEFINITION *gmSummonDefinitionGetNearStub(Sint32 summonId)
Returns a summon's definition, or NULL past the last.
Referenced by btActionRunBuild(), btAIChooseAction(), btSummonUpdateAvailability(), mnBattleCollectPartyCommands(), mnBattleSummonMenuRun() and mnSummonShowLearnedMessage().
Definition at line 123 of file stubs.h.
gmAbilityGetDefinitionStub
struct ABILITY_DEFINITION *gmAbilityGetDefinitionStub(Sint32 abilityId)
Returns the definition of an ability by its low 14 bits, the first for an id
past the table (gmAbilityGetDefinition); every module reads abilities so.
Referenced by btAbilityApplyToTarget(), btAbilityIsPsynergy(), btActionOrderSort(), btActionRunBuild(), btAIChooseAction(), fdFindPsynergyCue(), fdPsynergyLoadResources(), fdRunPsynergyEndScripts(), fdSelectPsynergyTarget(), fdUsePsynergy(), mnAbilityApplyToTargets(), mnAbilityBuildIconTiles(), mnAbilityBuildItemIconTiles(), mnAbilityPlayUseSound(), mnBattleCollectPartyCommands(), mnBattleDjinnMenuListChangedPsynergy(), mnBattleDjinnMenuShowChangePreview(), mnBattlePsynergyMenuRun(), mnBattleStatusScreenRun(), mnDjinnMenuDrawStatPreview(), mnItemCheckBattleUse(), mnItemClassifyUseMode(), mnPsynergyMenuClassifySelectedPsynergy(), mnPsynergyMenuCollectActions(), mnPsynergyMenuDrawPage(), mnPsynergyMenuIsActionRestricted(), mnPsynergyMenuRun(), mnPsynergyMenuRunList(), mnPsynergyMenuRunSteps(), mnStatusScreenDrawPsynergyPage() and mnStatusScreenShowPsynergyRow().
Definition at line 127 of file stubs.h.
gmUnitRecalculateGaugesStub
void gmUnitRecalculateGaugesStub(Sint32 unitId)
Recomputes the unit's HP and PP gauges from its current HP and PP.
Referenced by btAbilityApplyToTarget(), btActionRunBuild(), btUnitCountDownRegenerate(), mnAbilityApplyToTargets(), mnInnPlaySleep() and mnSanctumApplyService().
Definition at line 130 of file stubs.h.
gmBattleRandomStub
Sint32 gmBattleRandomStub(void)
Returns the battle's next random number, bits 8 to 23 of its new seed.
Referenced by btAbilityApplyToTarget(), btActionRunBuild(), btAIChooseAction(), btAIChooseRandomTarget(), btAppendLinkedActions(), btEnemyRecordDefeat(), btRun(), btStagingRunItem(), btUnitDrainDjinn() and btUnitRollCounterEarlyEnd().
Definition at line 133 of file stubs.h.
gmBattleIsReviveEffectStub
Sint32 gmBattleIsReviveEffectStub(Sint32 effect)
Returns 1 for the revive effects, which only work on a downed unit.
Referenced by btAbilityApplyToTarget(), btActionRunBuild() and mnBattleClassifyEntryKind().
Definition at line 136 of file stubs.h.
gmUnitTryLevelUpStub
Sint32 gmUnitTryLevelUpStub(Sint32 unitId, Sint16 *gains)
Levels the unit up once if its experience reaches the next level, filling
gains, a LEVEL_UP_RESULT read as halfwords (LEVEL_UP_GAIN); its address, or 0
when the unit did not level up.
Referenced by btAwardSpoils().
Definition at line 141 of file stubs.h.