fluffos/docs/apply/master/valid_save_binary.md

22 lines
502 B
Markdown
Raw Permalink Normal View History

2018-12-30 16:43:04 -08:00
---
title: master / valid_save_binary
---
2023-11-25 09:50:24 -08:00
# valid_save_binary
2018-12-30 16:43:04 -08:00
### NAME
2018-12-30 16:59:01 -08:00
2018-12-30 16:43:04 -08:00
valid_save_binary - controls whether or not an object can save its pro
gram
### SYNOPSIS
2018-12-30 16:59:01 -08:00
int valid_save_binary( string file );
2018-12-30 16:43:04 -08:00
### DESCRIPTION
2018-12-30 16:59:01 -08:00
2018-12-30 16:43:04 -08:00
When the driver is compiled with ALWAYS_SAVE_BINARIES, or an object
uses '#pragma save_binary', valid_save_binary is called with the pro
gram's filename. If valid_save_binary returns 1, the save will be
allowed, otherwise it will not.