Skip to content

Commit

Permalink
no ffi
Browse files Browse the repository at this point in the history
  • Loading branch information
yuichiis committed Mar 17, 2024
1 parent aa71ba3 commit 630783b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BufferFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class BufferFactory
{
public function isAvailable() : bool
{
return class_exists(FFI::class);
return extension_loaded('ffi');
}

public function Buffer(int $size, int $dtype) : Buffer
Expand Down

0 comments on commit 630783b

Please sign in to comment.