@@ -18,12 +18,12 @@ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ -#import "SL3Statement.h" -#import "SL3Statement+Private.h" +#import "SL3PreparedStatement.h" +#import "SL3PreparedStatement+Private.h" #import "SL3BindObjectFailedException.h" #import "SL3ClearBindingsFailedException.h" #import "SL3ExecuteStatementFailedException.h" #import "SL3PrepareStatementFailedException.h" @@ -33,11 +33,11 @@ releaseObject(void *object) { [(id)object release]; } -@implementation SL3Statement +@implementation SL3PreparedStatement - (instancetype)sl3_initWithConnection: (SL3Connection *)connection SQLStatement: (OFConstantString *)SQLStatement { self = [super init]; @@ -68,11 +68,11 @@ [super dealloc]; } static void -bindObject(SL3Statement *statement, int column, id object) +bindObject(SL3PreparedStatement *statement, int column, id object) { int code; if ([object isKindOfClass: [OFNumber class]]) { switch (*[object objCType]) {